unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Chong Yidong <cyd@gnu.org>
Cc: 13125@debbugs.gnu.org
Subject: bug#13125: Fix permissions bugs with setgid directories etc.
Date: Sat, 08 Dec 2012 23:26:27 -0800	[thread overview]
Message-ID: <50C43D23.8070507@cs.ucla.edu> (raw)
In-Reply-To: <87lid7zxpy.fsf@gnu.org>

On 12/08/2012 07:54 PM, Chong Yidong wrote:
> Have you actually done a survey of all the callers to file-attributes to
> see if this is true?

Yes, all the callers that are distributed as part of Emacs.

>> > Instead, the patch moves this functionality to
>> > file-ownership-preserved-p via a new argument GROUP.
> Why can't this functionality be kept in file-attributes?

Performance.  The functionality requires statting the parent directory
for each call to file-attributes.





  reply	other threads:[~2012-12-09  7:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-09  1:13 bug#13125: Fix permissions bugs with setgid directories etc Paul Eggert
2012-12-09  3:54 ` Chong Yidong
2012-12-09  7:26   ` Paul Eggert [this message]
2012-12-09 17:03     ` Eli Zaretskii
2012-12-10  1:08       ` Paul Eggert
2012-12-14 19:00         ` Paul Eggert
2012-12-09  8:32 ` Michael Albinus
2012-12-09  8:56   ` Paul Eggert
2012-12-09  9:32     ` Michael Albinus
2012-12-09 16:43 ` Wolfgang Jenkner
2012-12-10  0:46   ` Paul Eggert

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=50C43D23.8070507@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=13125@debbugs.gnu.org \
    --cc=cyd@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).