cp -ar to external harddrive

amar_padhi amar_padhi at fastmail.fm
Tue Dec 6 07:51:04 UTC 2005


have you tried cp -pr. The 'p' option keeps the permissions, owner etc.

Thanks!
amar


On Tue, 2005-12-06 at 07:33 +0000, Bryan Hepworth wrote:
> Hi Everyone
>  
> I'm trying to back up /home to an external hard drive (maxtor usb) and
> wanted to keep the file permissions but when I do a
>  
> cp -ar /home /media/usb it complains about not being able to do the
> permissions and they all go across as root instead. 
>  
> Anyone know where I'm going wrong?
>  
> Thanks
>  
> Bryan
>  
>  
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the fedora-list mailing list