fixperms auto-recreate html folders if needed

This commit is contained in:
Benjamin Sonntag 2012-08-25 09:52:03 +00:00
parent 9f6e82764c
commit c0ad932536
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ doone() {
REP="$ALTERNC_LOC/html/$INITIALE/$LOGIN/$sub_dir"
# Set the file readable only for the AlternC User
mkdir -p "$REP"
chown -R alterncpanel:$GID "$REP"
chmod 2770 -R "$REP"