Add a -C option to the sesearch, it will show you the booleans
required for that access. It will probably show a capital D at the
beginning of the line, indicating the boolean is disabled. sesearch -A -s httpd_t -t user_home_t -p read -c file -C Found 1 semantic av rules: DT allow httpd_t user_home_type : file { ioctl read getattr lock open } ; [ httpd_read_user_content ] If you want to allow httpd_t to read all content in the users homedir you can turn on the httpd_read_user_content boolean. If you want to allow it to read just a certain directories/files, recommended, you should change the label on the directory. BTW ~/public_html and ~/www already have the correct labelling. BTW, There will be a blog about this out tomorrow. On 09/14/2014 03:51 AM, dE wrote:
|
-- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux