From a195f8b936774da3a4efa3113cc96f3598a412dc Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Mon, 26 Jan 2015 16:44:58 -0500 Subject: [PATCH] more perms for wiki --- scripts/IKIWIKI/50-fix-perms.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/IKIWIKI/50-fix-perms.sh b/scripts/IKIWIKI/50-fix-perms.sh index 8d5f7ec..0ccbd73 100755 --- a/scripts/IKIWIKI/50-fix-perms.sh +++ b/scripts/IKIWIKI/50-fix-perms.sh @@ -5,5 +5,7 @@ $ROOTCMD chown -R root.www-data /var/www/html $ROOTCMD chmod 750 /var/www/html $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' | xargs -0 chmod 640 +$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 find /srv/ikiwiki -type d -print0 | xargs -0 chmod 750 +$ROOTCMD find /srv/ikiwiki -type f -print0 | xargs -0 chmod 640 -- 2.25.1