[Bug 12230] Data loss when deleting symlinks over sftp

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Mon Jan 2 18:42:46 UTC 2006


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=12230
Ubuntu | nautilus





------- Additional Comments From jusic at mbnet.fi  2006-01-02 18:42 UTC -------
> The reason for this is that the sftp system does not support symlinks.

That's not true. sftp does support symbolic links (At least OpenSSH's sftp
does) and fuse/sshfs plays quite well with them too. (At least in recent
versions 1.1 and 1.3.)

One comment in sshfs' source code caught my eye:

In function sshfs_symlink(): (line 1255 in sshfs-1.3 sources)

    /* openssh sftp server doesn't follow standard: link target and
       link name are mixed up, so we must also be non-standard :( */

Could that be the reason why Nautilus / GnomeVFS does odd things with
symbolic links? Just a thought.

(I don't personally use GnomeVFS for sftp, this just popped up while 
I was searching for sshfs bugs.)

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list