[CentOS] SELinux - different context on subdirectories
Marcus Moeller
mmoeller at econet.chThu Mar 19 13:47:09 UTC 2009
- Previous message: [CentOS] 5.3 and ext4
- Next message: [CentOS] SELinux - different context on subdirectories
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all, I have created a directory /srv with the following SELinux context: system_u:object_r:var_t Now I want to create a subdirectory within /srv which should get a different context. So I tried to set e.g.: semanage fcontext -a -t samba_share_t /srv/samba /sbin/restorecon -v /srv/samba but the context is always reset to: system_u:object_r:var_t What am I missing? Best Regards Marcus
- Previous message: [CentOS] 5.3 and ext4
- Next message: [CentOS] SELinux - different context on subdirectories
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list