bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11400: 24.0.95; `url-copy-file' doesn't respect the umask


From: Glenn Morris
Subject: bug#11400: 24.0.95; `url-copy-file' doesn't respect the umask
Date: Thu, 10 May 2012 14:52:58 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Donald Ephraim Curtis wrote:

> It seems that `url-copy-file' does not respect the `umask' value.

Well, you could put it that way, or you could say that by default it
creates private copies. Isn't this standard practice for many
applications that download things?

url-copy-file uses mm-save-part-to-file, which sets file modes according
to mm-attachment-file-modes. For world-readable, set that to 420.
There is no setting that means "don't change the mode bits"; maybe there
should be.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]