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


Message #14 received at 11400 <at> debbugs.gnu.org (full text, mbox):

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

I don't agree with this argument.  Why is a "private" copy implied?  When I use `cp' I don't expect `cp' to dictate its own permissions.

What other applications behave in this way?  I use `curl' and `wget' to copy url contents and they respect the umask.

In the end, I don't care if this changes or not, but the bigger problem is that the documentation needs to direct people to the `mm-attachment-file-modes' variable because it is definitely not intuitive that the umask is determined from there.  


dc






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

Previous Next


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