When I do
chcon -v -t httpd_sys_script_ro_t a_folder_at_home/
And then:
ls -dZ
I got:
DACs user grp unconfined_u:object_r:httpd_sys_content_t:s0 a_folder_at_home/
In case of error I would have expected something like:
chcon -v -t httpd_sys_ro_content_t a_folder_at_home/
chcon: failed to change context of `a_folter_at_home/' to `unconfined_u:object_r:httpd_sys_ro_content_t:s0': Invalid argument
Is this some kind of alias?
I am using Scientific Linux 6