fixperms auto-recreate html folders if needed
This commit is contained in:
parent
9f6e82764c
commit
c0ad932536
|
@ -101,6 +101,7 @@ doone() {
|
||||||
REP="$ALTERNC_LOC/html/$INITIALE/$LOGIN/$sub_dir"
|
REP="$ALTERNC_LOC/html/$INITIALE/$LOGIN/$sub_dir"
|
||||||
|
|
||||||
# Set the file readable only for the AlternC User
|
# Set the file readable only for the AlternC User
|
||||||
|
mkdir -p "$REP"
|
||||||
chown -R alterncpanel:$GID "$REP"
|
chown -R alterncpanel:$GID "$REP"
|
||||||
chmod 2770 -R "$REP"
|
chmod 2770 -R "$REP"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue