tech-userlevel archive

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

Re: cp/mv and extended attributes preservation

On Wed, Jul 27, 2011 at 01:15:44AM +0000, Emmanuel Dreyfus wrote:
> On Tue, Jul 26, 2011 at 10:14:42PM +0200, Joerg Sonnenberger wrote:
> > > Any objection to modify cp(1) and mv(1) to preserve extended attributes?
> > Please do that only if -p is active (for cp(1)).
> While it seems desirable performance-wse, it introduce an odd difference
> between cp and mv. And other OSes do preserve EA by default, so I
> think it breaks the rule of least astonishment.

I classify EAs the same way as suid/sgid bits. Also it seems like e.g.
coreutils doesn't copy them by default.


Home | Main Index | Thread Index | Old Index