From 37e97edb0bd38ffc029f057227b020d45c326c2a Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Mon, 26 Jan 2015 16:49:30 -0500 Subject: [PATCH] more perms for wiki --- scripts/IKIWIKI/50-fix-perms.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/IKIWIKI/50-fix-perms.sh b/scripts/IKIWIKI/50-fix-perms.sh index 0ccbd73..1274422 100755 --- a/scripts/IKIWIKI/50-fix-perms.sh +++ b/scripts/IKIWIKI/50-fix-perms.sh @@ -7,5 +7,7 @@ $ROOTCMD chown -R ikiwiki.www-data /var/www/html/wiki $ROOTCMD find /var/www/html/wiki -type d -print0 | xargs -0 chmod 750 $ROOTCMD find /var/www/html/wiki -type f ! -name '*cgi' -print0 | xargs -0 chmod 640 $ROOTCMD chmod 6750 /var/www/html/wiki/ikiwiki.cgi +$ROOTCMD chown -R ikiwiki.www-data /srv/ikiwiki $ROOTCMD find /srv/ikiwiki -type d -print0 | xargs -0 chmod 750 $ROOTCMD find /srv/ikiwiki -type f -print0 | xargs -0 chmod 640 + -- 2.25.1