From c0ad93253650472fbc4904c7327a91f31df2c7f8 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sat, 25 Aug 2012 09:52:03 +0000 Subject: [PATCH] fixperms auto-recreate html folders if needed --- src/fixperms.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fixperms.sh b/src/fixperms.sh index bce3f2d4..1b458541 100755 --- a/src/fixperms.sh +++ b/src/fixperms.sh @@ -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"