mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Updated SELinux label (#5728)
This commit is contained in:
parent
3bbd49dbad
commit
82cf1a4467
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue