Re: apologies for non plain text

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

 



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

jdow wrote:
> From: "Bryan Hepworth" <bryan@xxxxxxxxxxxxxxx>
> 
>> 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-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux