X-Git-Url: https://vcs.fsf.org/?p=fai-configs.git;a=blobdiff_plain;f=scripts%2FIKIWIKI%2F50-fix-perms.sh;fp=scripts%2FIKIWIKI%2F50-fix-perms.sh;h=127442223a6d121059c47565b3aa71a7c7c7213d;hp=0ccbd739398f711f210882a6b74080466f54f848;hb=37e97edb0bd38ffc029f057227b020d45c326c2a;hpb=a195f8b936774da3a4efa3113cc96f3598a412dc 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 +