apologies for non plain text

Bryn M. Reeves breeves at redhat.com
Tue Dec 6 11:11:04 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jdow wrote:
> From: "Bryan Hepworth" <bryan at redfedora.co.uk>
> 
>> 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?
> 
> 
> Copying from a Linux machine to a FAT filesystem?
> {^_^}
> 

That's what it looks like.

You can use tar if you need to preserve this information:

tar cvf /media/usb/myfile.tar /home

Then you can restore the archive with:

cd /
tar xvf /media/usb/myfile.tar

If preserving SELinux contexts is important, use star instead.

Kind regards,

Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDlXHI6YSQoMYUY94RAr6SAKCkCJ9U986KoUxPCiIONO8bUAF1BgCgvM8y
I6yjv2ZD+JlC/ERSuf0I8RY=
=oWi7
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list