GNOME Bugzilla – Bug 584348
GVFS Symbolic Links are Destroyed
Last modified: 2013-04-12 23:20:27 UTC
Please describe the problem: SFTP with GVFS destroys symbolic links, if a file operation is made on a symbolic link on the remote file system, the link is deleted and a simple copy of the file is made with the same name Steps to reproduce: 1. ssh user@host 2. ln -s ../dev/lib_auth/lib_auth.php . 3. ls -lah lib_auth.php rwxrwxrwx 1 bayi bayi 28 máj 31 13.30 lib_auth.php -> ../dev/lib_auth/lib_auth.php 4. open in any editor (gedit, mcedit, oowriter tested all) and save the file 5. ls -lah lib_auth.php rwxrwxrwx 1 bayi bayi 3,2K máj 31 13.30 lib_auth.php Actual results: The file is not a symbolic link anymore, instead it is a simple file with the saved contents. Diff shows me that the original file isnt touched only a new copy is being made Expected results: Symbolic Link kept, original file overwritten with new data on save Does this happen every time? Yes Other information: Distro: Gentoo Kernel: Linux defiant 2.6.29-gentoo-r4 #1 SMP Sun May 24 18:18:38 CEST 2009 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ AuthenticAMD GNU/Linux GCC: gcc (Gentoo 4.3.3-r2 p1.1, pie-10.1.5) 4.3.3
Still valid with gvfs-1.4.x
Still valid with gvfs-1.6.3
Still valid with gvfs-1.12.3
It seems its fixed in gvfs-1.16.0