[Bug 1535] rename doesn't fall back to rename syscall upon ENOSYS of link syscall

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Dec 9 23:28:15 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1535





--- Comment #5 from Johan Kielbaey <johan.kielbaey at gmail.com>  2008-12-09 23:28:14 ---
(In reply to comment #4)
It was also brought to my attention on the mailinglist that the syscall
link() shouldn't return ENOSYS. According to the link(2) the
implementation of link in sshfs should return EPERM to indicate that
creation of links is not supported. However the error check in
sftp-server doesn't check EPERM either.

So actually the proper solution would be to fix this in sshfs and to
add a fix in sftp-server to also check for EPERM.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list