apologies for non plain text
Bryn M. Reeves
breeves at redhat.com
Tue Dec 6 11:11:04 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
> 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:
tar xvf /media/usb/myfile.tar
If preserving SELinux contexts is important, use star instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the fedora-list