
dtucker at zip
Nov 19, 2009, 2:59 AM
Post #2 of 2
(778 views)
Permalink
|
|
Re: internal-sftp atomic file operations?
[In reply to]
|
|
Paul Surgeon wrote: > I've been testing internal-sftp with chroot on OpenSSH_5.3p1 and it > seems that internal-sftp does not support POSIX atomic rename() > operations. > Can someone confirm that this feature is only available in the > sftp-server and not internal-sftp? It's the same sftp server code either way. A quick test with internal-sftp and chrootdirectory shows it's there: $ sftp -vv localhost [...] debug2: Remote version: 3 debug2: Server supports extension "posix-rename [at] openssh" revision 1 debug2: Server supports extension "statvfs [at] openssh" revision 2 debug2: Server supports extension "fstatvfs [at] openssh" revision 2 sftp> Under what conditions does it not work? The only scenario I can think of is of you had sshd and sftp-server from different OpenSSH releases. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev [at] mindrot https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
|