Relabeling User home directories

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

 



Hi,

First of all this is a SElinux question on a CentOS File server rather than 
Fedora but I don't think that should make any difference. The clients are 
Fedora.

For historical reasons we mount our user home directories under /users instead 
of /home. During a recent installation of CentOS-5 the user home directories 
appear to have been relabeled. Many now seem to have the type default_t

drwx------  8237 csim     root:object_r:default_t          x0667617

If I unmount the users directories and mount them under /home can I use 
restorecon -v /home to restore the correct file contexts as I understand that 
SElinux understands /home is for user directories. Also if I can do that will 
the command understand public_html directories have to be labelled so that 
apache can access them.

Thanks

Tony

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux