GNU bug report logs - #865
23.0.60; The directory is unsafe today

Previous Next

Package: emacs;

Reported by: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>

Date: Tue, 2 Sep 2008 16:10:05 UTC

Severity: normal

Merged with 3281, 4197, 8787

Found in version 23.3

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Francis Litterio <flitterio <at> gmail.com>, 865 <at> debbugs.gnu.org
Cc: bug-gnu-emacs <at> gnu.org
Subject: bug#865: 23.0.60; The directory is unsafe today
Date: Sun, 07 Sep 2008 21:41:01 +0300
> From: Francis Litterio <flitterio <at> gmail.com>
> Date: Sun, 07 Sep 2008 11:44:50 -0400
> Cc: 
> 
> Would it be acceptable for Emacs on Windows to change the ownership of
> any file it creates to be the user running Emacs, and then set the ACLs
> such that the creating user is the only user with rights to the file?

Do you really mean to do that for _any_ file created by Emacs?  That's
hardly appropriate: do we really want that no one else could access
the files we create with Emacs?  Not even the Unix version does that,
unless default-file-modes say we should.

This discussion was only about the directory used by the Emacs server,
and any files in that directory.  I don't think anyone meant we should
do this for every file Emacs creates.

If you meant to suggest a way of doing this just for that single
directory, then yes, this is what we were discussing.  If you can
propose code to do that, please do.




This bug report was last modified 7 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.