Subject: bug#865: 23.0.60; The directory is unsafe today

From: Eli Zaretskii <[email-masked]>
Date: Sun, 07 Sep 2008 00:38:09 +0300

> From: Stefan Monnier <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Sat, 06 Sep 2008 15:45:29 -0400
> 
> > So you are saying we should assume that when umask has its two lower
> > mode bits set to zero, the intent is to create a private file
> > accessible only by the user who runs Emacs?  I don't like such
> > assumptions, but if I'm the only one, so be it.
> 
> It's not an assumption: it's what default-file-modes says.

On Posix platforms, yes.  The MS-Windows access right set is richer
than just Read, Write, Execute.