link(2) to rename files in sftp

Carson Gaspar carson at taltos.org
Tue Apr 6 11:45:05 EST 2004


--On Tuesday, April 06, 2004 09:24:31 +1000 Darren Tucker 
<dtucker at zip.com.au> wrote:

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

If rename() has a race condition, the OS is broken. Plain and simple.

-- 
Carson




More information about the openssh-unix-dev mailing list