SELinux directory permission

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
This entry was posted in Linux, Operating System. Bookmark the permalink.

Leave a Reply

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


5 + = twelve

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>