unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Donald Ephraim Curtis <dcurtis@milkbox.net>
To: Glenn Morris <rgm@gnu.org>
Cc: 11400@debbugs.gnu.org
Subject: bug#11400: 24.0.95; `url-copy-file' doesn't respect the umask
Date: Thu, 10 May 2012 17:23:27 -0500	[thread overview]
Message-ID: <29B0E81E-7914-4F7E-B271-7AE8FC6BCDC6@milkbox.net> (raw)
In-Reply-To: <netxzn6f79.fsf@fencepost.gnu.org>

> 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







  parent reply	other threads:[~2012-05-10 22:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-04  3:01 bug#11400: 24.0.95; `url-copy-file' doesn't respect the umask Donald Ephraim Curtis
2012-05-10 18:52 ` Glenn Morris
2012-05-10 20:28   ` Stefan Monnier
2012-05-10 22:23   ` Donald Ephraim Curtis [this message]
2012-09-05 19:32   ` Lars Ingebrigtsen
2015-12-25 21:37 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29B0E81E-7914-4F7E-B271-7AE8FC6BCDC6@milkbox.net \
    --to=dcurtis@milkbox.net \
    --cc=11400@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).