unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: copy-directory
Date: Mon, 05 Oct 2009 09:57:22 +0200	[thread overview]
Message-ID: <87ab06p925.fsf@lola.goethe.zz> (raw)
In-Reply-To: jwvtyyefs85.fsf-monnier+emacs@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Or shall we remove PRESERVE-UID-GID from `copy-directory'?
>
> I guess we can remove it for now,

I think that UID/GID should transparently be preserved when copying
directories whenever possible (in particular when using /sudo:: methods
or similar).  I don't think that there is an important usage case for
"don't preserve UID/GID even if you could": it would likely imply
copying a tree and turning it into root/root possession on today's
systems.

I would like to add that before the time of disk quotas, the owner of a
file was always able to do chown/chgrp on files (this cleared the setuid
bit for security reasons, but that was it).  It was the usual way of
passing data to somebody else (and nobody other).

-- 
David Kastrup





  parent reply	other threads:[~2009-10-05  7:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8763avuyt3.fsf@gmx.de>
     [not found] ` <83zl87nw88.fsf@gnu.org>
2009-10-04 16:41   ` copy-directory Stefan Monnier
2009-10-04 20:02     ` copy-directory Michael Albinus
2009-10-05  3:13       ` copy-directory Stefan Monnier
2009-10-05  7:22         ` copy-directory Michael Albinus
2009-10-05  7:57         ` David Kastrup [this message]
2009-10-06 17:26           ` copy-directory Michael Albinus
2009-10-06 18:50             ` copy-directory Eli Zaretskii
2009-10-04 19:58   ` copy-directory Michael Albinus
2009-10-04 21:31     ` copy-directory Eli Zaretskii

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=87ab06p925.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@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).