Updated SELinux label (#5728)
This commit is contained in:
parent
3bbd49dbad
commit
82cf1a4467
1 changed files with 2 additions and 1 deletions
|
@ -245,7 +245,8 @@ set_selinux () {
|
||||||
#Required for ldap integration
|
#Required for ldap integration
|
||||||
setsebool -P httpd_can_connect_ldap on
|
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
|
#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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue