In alternc 3.1 the mail [a..z] folders are created in alternc.install ( so we need to set their perms there )
This commit is contained in:
parent
b3df1b0b2a
commit
e4436b6f49
|
@ -127,9 +127,10 @@ find $ALTERNC_MAIL -maxdepth 1 -type d -exec chown vmail:vmail {} \;
|
||||||
|
|
||||||
for i in a b c d e f g h i j k l m n o p q r s t u v w x y z _ 0 1 2 3 4 5 6 7 8 9; do
|
for i in a b c d e f g h i j k l m n o p q r s t u v w x y z _ 0 1 2 3 4 5 6 7 8 9; do
|
||||||
test -d "$ALTERNC_HTML/$i" || ( mkdir -p "$ALTERNC_HTML/$i" && chown www-data:www-data "$ALTERNC_HTML/$i" )
|
test -d "$ALTERNC_HTML/$i" || ( mkdir -p "$ALTERNC_HTML/$i" && chown www-data:www-data "$ALTERNC_HTML/$i" )
|
||||||
test -d "$ALTERNC_MAIL/$i" || ( mkdir -p "$ALTERNC_MAIL/$i" && chown vmail:vmail "$ALTERNC_MAIL/$i" )
|
test -d "$ALTERNC_MAIL/$i" || ( mkdir -p "$ALTERNC_MAIL/$i" && chown vmail:vmail "$ALTERNC_MAIL/$i" && chmod 775 "$ALTERNC_MAIL/$i" )
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
# Check ACL
|
# Check ACL
|
||||||
aclcheckfile="$ALTERNC_HTML/test-acl"
|
aclcheckfile="$ALTERNC_HTML/test-acl"
|
||||||
touch "$aclcheckfile"
|
touch "$aclcheckfile"
|
||||||
|
|
Loading…
Reference in New Issue