From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#11400: 24.0.95; `url-copy-file' doesn't respect the umask Date: Thu, 10 May 2012 14:52:58 -0400 Message-ID: References: <97559B9A-B5C7-4692-9E48-0A1C56428517@milkbox.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1336676049 23406 80.91.229.3 (10 May 2012 18:54:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 May 2012 18:54:09 +0000 (UTC) Cc: 11400@debbugs.gnu.org To: Donald Ephraim Curtis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 10 20:54:08 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SSYV5-0003k0-Mg for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 May 2012 20:54:07 +0200 Original-Received: from localhost ([::1]:59696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSYV5-0004GT-29 for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 May 2012 14:54:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSYV2-0004GO-I4 for bug-gnu-emacs@gnu.org; Thu, 10 May 2012 14:54:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSYV0-00045p-RK for bug-gnu-emacs@gnu.org; Thu, 10 May 2012 14:54:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSYV0-00045j-OG for bug-gnu-emacs@gnu.org; Thu, 10 May 2012 14:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SSYUz-0004U4-Ol; Thu, 10 May 2012 14:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 10 May 2012 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11400 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 11400-submit@debbugs.gnu.org id=B11400.133667598317145 (code B ref 11400); Thu, 10 May 2012 18:54:01 +0000 Original-Received: (at 11400) by debbugs.gnu.org; 10 May 2012 18:53:03 +0000 Original-Received: from localhost ([127.0.0.1]:47111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SSYU2-0004ST-Mr for submit@debbugs.gnu.org; Thu, 10 May 2012 14:53:03 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:35770 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SSYU0-0004S5-IY for 11400@debbugs.gnu.org; Thu, 10 May 2012 14:53:01 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SSYTy-0002re-Nc; Thu, 10 May 2012 14:52:58 -0400 X-Spook: Semtex Comirex militia BLU-97 A/B Kennedy New World Order X-Ran: p%=Hm?e.p_O{J$*OOR&"E@O*}FkHq}Cv#^Fz#uhqi4[l(K9=lC\}Z1u*<7yFnL4Dd5("*& X-Hue: cyan X-Attribution: GM In-Reply-To: <97559B9A-B5C7-4692-9E48-0A1C56428517@milkbox.net> (Donald Ephraim Curtis's message of "Thu, 3 May 2012 22:01:17 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59919 Archived-At: 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.