Re: Maintaining Ownership When Copying Files and Directories

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

 



OK, I see that running the command from the source is the way to go (at least for cpio, I don't appear to have afio).  But unfortunately it is not maintaining ownership, which is the issue.  I can't access the source as root, which is the "root" of the problem, and running the command as a user who has access to the source is what, I believe, is inhibiting the maintenance of the ownership.

Same deal for rsync.

Thank you.


----- Original Message ----
From: Jim Canfield <jcanfield@xxxxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Sent: Tuesday, April 3, 2007 2:02:24 PM
Subject: Re: Maintaining Ownership When Copying Files and Directories


Matthijs.Sneijders@xxxxxxxxxxxxxx wrote:
> i always like:
> find . -depth -print  |cpio -pdmuv "destination"
>
> but also
> rsync -azu source target
>
>   
I like it too.  For "safer" file level compression use you could also 
use afio:

find . -depth -print  |afio -o -v -Z "destination"


-Jim


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux