[darcs-users] `darcs record` leaves emacs backup files in top directory

Thomas Zander zander at planescape.com
Thu Apr 7 19:08:58 UTC 2005


On Thursday 07 April 2005 19:32, Antti-Juhani Kaijanaho wrote:
> On 20050407T150809+0200, Thomas Zander wrote:
> > Simplest way is a
> >     a) generate new filename
> >     b) umask 077 && touch /tmp/$tmpfile
> >     c) check if /tmp/$tmpfile is of current uid, if not goto (a)
> >     d) start $EDITOR with /tmp/$tmpfile
>
> Better use the standard secure temp file creation mechanisms.

Hmm.. Yeah;  assuming that this has not been defined in the POSIX defaults  
was indeed a bit silly of me :)

-- 
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050407/8dd45e1e/attachment.pgp 


More information about the darcs-users mailing list