From b90150dfbcda79edc0748d3b8d1f7f9e491672e3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 25 Jan 2010 22:45:23 -0200 Subject: Trying to fix permission issue (3) --- templates/refresh.sh.erb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3