rights messed up after moving installation

Daniel J Walsh dwalsh at redhat.com
Mon Nov 5 22:09:18 UTC 2012


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

On 11/05/2012 05:07 PM, lee wrote:
> Steven Stern <subscribed-lists at sterndata.com> writes:
> 
>> From the man page:
>> 
>> -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)
>> 
>> So, you need to use "--archive -X" to transfer selinux context info as 
>> well as the other attributes.
> 
> Ugh ... darn ... What do I do now?  Files on /var have been modified in the
> meantime; I could run rsync on / again.  That should be possible while it's
> mounted.
> 
> What will rsync do?  Only change the info because the file content hasn't
> changed?
> 
> Isn't there a better way to fix this?
> 

I have not got the full information, but running restorecon on the data will
probably fix the file contexts.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCYOQ4ACgkQrlYvE4MpobNwZgCfY7t1gPT03C6TZO0Xp33cyOgS
9WkAni7Mtlj91hOgfmvHEMAqTbPvv+vu
=cCTp
-----END PGP SIGNATURE-----


More information about the users mailing list