Displaying 2 results from an estimated 2 matches for "kielbaey".
2008 Nov 06
10
[Bug 1535] New: rename doesn't fall back to rename syscall upon ENOSYS of link syscall
...table OpenSSH
Version: 5.1p1
Platform: ix86
OS/Version: Linux
Status: NEW
Keywords: patch
Severity: normal
Priority: P3
Component: sftp-server
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: johan.kielbaey at gmail.com
Currently renaming of a file is implemented via a link() and unlink()
syscall with the possibility to fall back to the rename() syscall in
certain conditions (ENOTSUPP etc).
In case the errorcode returned by link() is ENOSYS this is not the
case.
The attached patch implements a fal...
2008 Nov 05
1
Bug+bugfix in sftp-server : failed to rename file on sshfs mount
Hello,
Renaming a file via sftp on an sshfs mount resulted in a failure with
errorcode 38 (ENOSYS).
This is reproducable with openssh release 4.9p1 & 5.1p1 in combination
sshfs 2.2 (latest releases). Investigation revealed that sshfs only
implements the rename()-call and not the link()-call (used by
sftp-server).
Attached is a patch to perform the rename()-call upon a failed link().
The