aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-25 22:45:23 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-25 22:45:23 -0200
commitb90150dfbcda79edc0748d3b8d1f7f9e491672e3 (patch)
tree857dc878ad6acf06cb1a60e91c07b8d104b4778e /templates
parent20afe88965b30d2652f57e02c5dec75b61e7c036 (diff)
downloadpuppet-ikiwiki-b90150dfbcda79edc0748d3b8d1f7f9e491672e3.tar.gz
puppet-ikiwiki-b90150dfbcda79edc0748d3b8d1f7f9e491672e3.tar.bz2
Trying to fix permission issue (3)
Diffstat (limited to 'templates')
-rw-r--r--templates/refresh.sh.erb4
1 files changed, 4 insertions, 0 deletions
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