SELinux directory permission

Written by

in

,

To check SELinux directory permission you need to -z for example

ls -Z /var/www/html

If something is incorrect you can re-adjust some of the directory permission:


chcon -R -t httpd_sys_content_t /var/www/html

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *