diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-25 22:45:23 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-25 22:45:23 -0200 |
commit | b90150dfbcda79edc0748d3b8d1f7f9e491672e3 (patch) | |
tree | 857dc878ad6acf06cb1a60e91c07b8d104b4778e /templates | |
parent | 20afe88965b30d2652f57e02c5dec75b61e7c036 (diff) | |
download | puppet-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.erb | 4 |
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 |