home directory problems with Fedora 8

Matthew Gillen matt at gillens.us
Fri Dec 7 02:07:12 UTC 2007


Chris Howard wrote:
> Thanks Matt... but it doesn't work.
> 
> When I do:
> 
> chcon-t home_root_t /u01/home
> 
> then a:
>  
> restorecon -R -v /u01/home
> 
> changes it back to default_t
> 
> A system-wide recontext sets it back to:
> 
> /u01 is default_t
> /u01/home is default_t
> /u01/home/chris is default_t

Well, the brute force way would be to open up:
 /etc/selinux/targeted/contexts/files/file_contexts.homedirs
and copy/paste all the "/home/*" entries and do some grep-replace on the new
copy.  A restorcon on /u01/home /should/ work then.

Good luck,
Matt




More information about the selinux mailing list