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

Previous Next

Package: emacs;

Reported by: Donald Ephraim Curtis <dcurtis <at> milkbox.net>

Date: Fri, 4 May 2012 03:04:01 UTC

Severity: minor

Tags: fixed

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Donald Ephraim Curtis <dcurtis <at> milkbox.net>
Cc: 11400 <at> debbugs.gnu.org
Subject: bug#11400: 24.0.95; `url-copy-file' doesn't respect the umask
Date: Thu, 10 May 2012 14:52:58 -0400
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.




This bug report was last modified 8 years and 231 days ago.

Previous Next


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