Updated SELinux label (#5728)

This commit is contained in:
Earl Ramirez 2018-06-21 02:28:20 -04:00 committed by snipe
parent 3bbd49dbad
commit 82cf1a4467

View file

@ -245,7 +245,8 @@ set_selinux () {
#Required for ldap integration
setsebool -P httpd_can_connect_ldap on
#Sets SELinux context type so that scripts running in the web server process are allowed read/write access
chcon -R -h -t httpd_sys_script_rw_t "$APP_PATH"
chcon -R -h -t httpd_sys_rw_content_t "$APP_PATH/storage/"
chcon -R -h -t httpd_sys_rw_content_t "$APP_PATH/public/"
fi
}