[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: typo in http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts



At 1150201174 past the epoch, edd wrote:
> Hello,
> A little error in 
> http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts ( 
> section "10.4 Scripts" ), the last but one line :
> "Any scripts which create files in world-writeable directories (e.g., in 
> /tmp) must use a mechanism which will fail atomically if a file with the 
> same name already exists."
> "atomically" should be a "automatically" ?

Actually I think "atomically" is correct here. Consider two
instances of a program attempting to write to the same
lockfile or tempfile and the possible interleavings that
could happen if checks for the file were not atomic.

-- 
Jon Dowland
http://alcopop.org/



Reply to: