From: Silvio Rhatto Date: Tue, 26 Jan 2010 00:45:23 +0000 (-0200) Subject: Trying to fix permission issue (3) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b90150dfbcda79edc0748d3b8d1f7f9e491672e3;p=puppet-ikiwiki.git Trying to fix permission issue (3) --- diff --git a/templates/refresh.sh.erb b/templates/refresh.sh.erb index e158f58..fd20ff0 100644 --- a/templates/refresh.sh.erb +++ b/templates/refresh.sh.erb @@ -27,3 +27,7 @@ chown -R $WEB_OWNER.$WEB_GROUP $SITE/"$INSTANCE"_src $SITE/$INSTANCE chown -R $REPO_OWNER.$REPO_GROUP $REPO chown $WEB_OWNER.$REPO_GROUP $REPO/hooks/post-update chown $WEB_OWNER.$REPO_GROUP $SITE/$INSTANCE/ikiwiki.cgi + +# Setuid/setgid +chmod 6550 $REPO/hooks/post-update +chmod 6550 $SITE/$INSTANCE/ikiwiki.cgi