SELinux: Relabelling a file/directory

  • Relabelling a file/directory to allow httpd to access files/directories with SELinux enforced.

Relabel directory to conform to SELinux policy.

$ chcon -R --type=httpd_sys_content_t dev_cakeyourdr/

References:
     Wiki Centos
     Centos-SELinux

- _

Add Comment

Sorry you must log in first to be able to add a comment. Click here to log in.
*/ ?>