Skip to content

Commit dd9f507

Browse files
authored
Merge pull request hestiacp#1323 from moucho/permissions
Correct permissions for index.html and robots.txt on new added web domain
2 parents f836822 + c6b5125 commit dd9f507

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/v-add-web-domain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ chown root:$user /var/log/$WEB_SYSTEM/domains/$domain.* $conf
9090
chmod 640 /var/log/$WEB_SYSTEM/domains/$domain.*
9191
chmod 751 $HOMEDIR/$user/web/$domain $HOMEDIR/$user/web/$domain/*
9292
chmod 551 $HOMEDIR/$user/web/$domain/stats $HOMEDIR/$user/web/$domain/logs
93+
chmod 644 $HOMEDIR/$user/web/$domain/public_*html/*
9394

9495
# Addding PHP-FPM backend
9596
if [ ! -z "$WEB_BACKEND" ]; then

0 commit comments

Comments
 (0)