At 1151095688 past the epoch, Jan Braun wrote:
> Zachary P. Landau schrob:
> > How would having it in /tmp be a problem, as long as
> > your permissions are sane?> 
> The obvious way to get this wrong is overwriting/changing
> the file in /tmp if it exists.
<snip>
> Basically, /tmp is a bad idea, and since darcs can safely
> write to _darcs, it should do so.

/tmp (or $TMPDIR) is a fine idea, as long as you protect
against symlink attacks using an atomic method such as
mkstemp(3). I certainly much prefer it to each application
keep it's temp files in it's own space and the clutter which
can result.

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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to