emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy-directory


From: David Kastrup
Subject: Re: copy-directory
Date: Mon, 05 Oct 2009 09:57:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Stefan Monnier <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]