From 3a3168c69f21d892d10ca557ef5046c98868802f Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 9 Aug 2016 16:06:17 +0200 Subject: [PATCH] [fix] fixing ACL issues with NFS and ITK not being able to read .htaccess Known bug of ITK. Fixes #104 --- src/fixperms.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fixperms.sh b/src/fixperms.sh index 6ae6e505..bd39c977 100755 --- a/src/fixperms.sh +++ b/src/fixperms.sh @@ -134,6 +134,7 @@ doone() { # -Rm g:alterncpanel:rwx -m u:$GID:rwx -m g:$GID:rwx -m mask:rwx\ # "$REP" setfacl -bknR -m d:u:alterncpanel:rwx -m d:g:alterncpanel:rwx -m u:alterncpanel:rwx -m g:alterncpanel:rwx -m d:o::--- -m o::---\ + -m d:u:www-data:r-x -m u:www-data:r-x\ -m d:u:$GID:rwx -m d:g:$GID:rwx -m u:$GID:rwx -m g:$GID:rwx -m d:mask:rwx -m mask:rwx "$REP" fixtmp $GID @@ -165,6 +166,7 @@ fixdir() { # -Rm g:alterncpanel:rwx -m u:$REP_ID:rwx -m g:$REP_ID:rwx -m mask:rwx\ # "$REP" setfacl -bknR -m d:u:alterncpanel:rwx -m d:g:alterncpanel:rwx -m u:alterncpanel:rwx -m g:alterncpanel:rwx -m d:o::--- -m o::---\ + -m d:u:www-data:r-x -m u:www-data:r-x\ -m d:u:$REP_ID:rwx -m d:g:$REP_ID:rwx -m u:$REP_ID:rwx -m g:$REP_ID:rwx -m d:mask:rwx -m mask:rwx "$REP" fixtmp $REP_ID