Another selinux rant

Daniel J Walsh dwalsh at redhat.com
Tue Jan 8 12:12:37 UTC 2008


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

Ed Swierk wrote:
> On 1/4/08, Matej Cepl <mcepl at redhat.com> wrote:
>> When introducing SELinux on computer where it wasn't before, it
>> is mandatory to
>>
>> touch /.autorelabel
>> reboot
> 
> ...and when copying files from another machine not running SELinux,
> and when copying files from a machine running SELinux without using
> funny tar/cp options.
> 
> --Ed
> 
restorecon on the files is a better solution.

restorecon -R -v /etc

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

iEYEARECAAYFAkeDaLUACgkQrlYvE4MpobPXSACdGFqSw4JygcXU3utwR/At9SUB
wLgAoM7GV+8bfvrcZbbnjTxf8St+gBlC
=EnwM
-----END PGP SIGNATURE-----




More information about the fedora-devel-list mailing list