chcon -R -h -t httpd_sys_script_exec_t /path/to/html
For SVN:
chcon -R -t httpd_sys_content_t grpm
chcon -R -t httpd_sys_content_t /var/www/svn/
chcon -R -t httpd_sys_rw_content_t /var/www/svn/
chcon is onluy for a session (won't survive reboot..)
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/svn(/.*)?"
Wednesday, March 25, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment