You're not copying from an NFS mount, are you?  a few days ago I tried to do something 
similar and the permissions would not preserve, and the ownership changed to nobody.  
We finally decided it was an NFS thang, since it runs as nobody.

Davida Schiff <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> 
> I have a question about preserving permissions (for files). It seems like
> the -p option during a copy does not work.  Here is the scenario:
> Directory A has 4 files with the following permissions: file1=777,
> file2=666, file3=667 & file4=676. Directory B has the same (contents) 4
> files with the following permissions: file1=644,  file2=644, file3=644 &
> file4=644. If I add new contents to any of the files in directory A and use
> the following copy commands [cp -rfpv,  cp -rpv, cp -pfv, cp -pv] the files
> get overwritten (desired effect) as does the permissions (undesired effect)
> in Directory B. I thought the -p option preserved the permissions. How can I
> preserve my files original permissions scheme (in directory B)?
> 
> Thanks,
> 
> 
> Davida 
> Without books there is no knowledge. 
> Without knowledge there is no power. 
> Without power there is no freedom. 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk
> 

----------
Get your own FREE, personal Netscape Webmail account today at 
http://home.netscape.com/webmail/


_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to