Skip to content

A free open source IT asset/license management system

Updated SELinux label (#5728)

Earl Ramirez82cf1a44675c
diff --git a/snipeit.sh b/snipeit.sh
index a0e8a33c68..0a28e29407 100755
--- a/snipeit.sh
+++ b/snipeit.sh
@@ -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
}