NetBSD-Bugs archive

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

Re: bin/45259 (mv: system extended attribute will not be preserved)



The following reply was made to PR bin/45259; it has been noted by GNATS.

From: Emmanuel Dreyfus <manu%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/45259 (mv: system extended attribute will not be preserved)
Date: Tue, 16 Aug 2011 15:01:10 +0000

 NetBSD's cp -p warns if it is not able to copy system attributes. It will
 always complain when invoked by an unprivilegied user since it has not
 way to know if there are system EA or not (only root can list them).
 
 A cross-filesystem mv will call cp -p, which explains why the message
 apaears with mv. 
 
 I think we should just remove the warning. Another option is to add
 a -q (for quiet) option to cp and have mv use cp -pq. unprivilegied
 users using cp -p will still always get a warning.
 
 -- 
 Emmanuel Dreyfus
 manu%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index