Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279540 - >=gnome-base/gvfs-1.2.3: breaks symlinks on remote file system over ssh
Summary: >=gnome-base/gvfs-1.2.3: breaks symlinks on remote file system over ssh
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-29 00:50 UTC by Balázs L. Batári
Modified: 2010-08-09 15:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balázs L. Batári 2009-07-29 00:50:59 UTC
Symlinks on remote filesystems are not threated as links with gvfs. Reading is fine, the link's target file's content is given, but wrting to the symlink self destroys the link and creates a regular file with the link's name and with the new content ( the original file is not touched )

Reproducible: Always

Steps to Reproduce:
1.echo "test" > testing.txt
2.ln -s testing.txt symlinktest
3.ls -lah symlinktest 
lrwxrwxrwx 1 bayi bayi 11 júl   29 02.39 symlinktest -> testing.txt
4. (conenct to localhost over ssh with gvfs)
5. ls .gvfs/.../home/bayi/symlinktest -la
-rwx------ 1 bayi bayi 5 júl   29 02.38 .gvfs/.../home/bayi/symlinktest*
6. echo "test2" > .gvfs/.../home/bayi/symlinktest
7  cat testing.txt 
test
8. cat symlinktest 
test2
9  ls -lah symlinktest 
-rwxrwxrwx 1 bayi bayi 6 júl   29 02.41 symlinktest*


Actual Results:  
The file "symlinktest" is not a symlink anymore on the local file system, they are two seperate files now.

Expected Results:  
Symlinks should be kept after writing to them and the original file should be updated.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-29 08:05:03 UTC
that sounds like an upstream bug.
Comment 2 Balázs L. Batári 2009-07-29 11:39:06 UTC
(In reply to comment #1)
> that sounds like an upstream bug.
> 

i posted the bug on gnome bugzilla too ( 2009.05.30 ). I still got no answer there.
Nobody else noticed this bug ?
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-30 07:35:58 UTC
please post the URL here, and don't change the severity. It's not a crash nor something that will make you loose data (at least not directly), so for us it's not major, thanks (it should probably be for upstream though).
Comment 4 Balázs L. Batári 2009-07-30 13:56:23 UTC
sorry about the severity setting ( the bug was open for days in my browser and as i posted the comment it also changed it back )

here is the URL of the bug@gnome: http://bugzilla.gnome.org/show_bug.cgi?id=584348
Comment 5 Pacho Ramos gentoo-dev 2010-06-13 17:26:30 UTC
I am not sure if we can do much here or should we close this as UPSTREAM :-/
Comment 6 Balázs L. Batári 2010-08-09 15:01:57 UTC
i think we could close this bug here, as this is an upstream bug.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-09 15:06:22 UTC
true. Please reopen when there is a solution upstream. We will either try to patch the problem or bump the package to a fixed version.