Browse Source

change chmod of web path

master
Simon Vieille 1 week ago
parent
commit
6b83bcb9b7
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bin/vhost-add

+ 1
- 1
bin/vhost-add View File

@@ -119,7 +119,7 @@ fi

useradd -G "$SYSTEM_USER_GROUP" -s "$DEFAULT_SHELL" -m -p "$SYSTEM_USER_PASSWORD" -d "$WEB_ROOT_PATH/$DOMAIN" "$SYSTEM_USER_USERNAME" -k "$SKEL_PATH"
chgrp www-data "$WEB_ROOT_PATH/$DOMAIN"
chmod o-r "$WEB_ROOT_PATH/$DOMAIN"
chmod 750 "$WEB_ROOT_PATH/$DOMAIN"

#######################
# Make configurations #

Loading…
Cancel
Save