link(2) to rename files in sftp

Darren Tucker dtucker at zip.com.au
Tue Apr 6 09:24:31 EST 2004


Andreas wrote:
> Is there an alternative to using link(2) to rename files in sftp-server?

There's an open bug for this:
http://bugzilla.mindrot.org/show_bug.cgi?id=823

According to the CVS log, the link shuffle is used to "fix races in 
rename/symlink" (revs 1.46 and 1.44).

-- 
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.




More information about the openssh-unix-dev mailing list