[fix] fixing ACL issues with NFS and ITK not being able to read .htaccess Known bug of ITK. Fixes #104

This commit is contained in:
Benjamin Sonntag 2016-08-09 16:06:17 +02:00
parent 0c840f9f2e
commit 3a3168c69f
1 changed files with 2 additions and 0 deletions

View File

@ -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