From 82cf1a44675cc27469b1b7fbcfdcb23af40d9b29 Mon Sep 17 00:00:00 2001 From: Earl Ramirez Date: Thu, 21 Jun 2018 02:28:20 -0400 Subject: [PATCH] Updated SELinux label (#5728) --- snipeit.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }