[CentOS] SELinux - different context on subdirectories

Ned Slider ned at unixmail.co.uk
Thu Mar 19 15:48:02 UTC 2009

Marcus Moeller wrote:
> Dear Ned.
>> You may also need to manually change the context first:
>> chcon -v --type=samba_share_t /srv/samba
> chcon did the trick.
> Thanks a lot
> Marcus

semanage will make the changes persistent through a complete filesystem 
relabel (chcon will persist through a reboot, but not a relabel).



More information about the CentOS mailing list