From f71a89900ed557d5309bc84f5c5a6c7af4718f67 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 11 Apr 2013 17:36:25 -0300 Subject: Run ikiwiki as regular user --- templates/refresh.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/refresh.sh.erb b/templates/refresh.sh.erb index 41b5296..d7b7502 100644 --- a/templates/refresh.sh.erb +++ b/templates/refresh.sh.erb @@ -27,7 +27,7 @@ if [ ! -d "$REPO" ]; then fi # Setup -ikiwiki --setup /etc/ikiwiki/$NAME.setup +su $WEB_OWNER -s /bin/bash -c "ikiwiki --setup /etc/ikiwiki/$NAME.setup" # Fix permissions chown -R $REPO_OWNER.$REPO_GROUP $REPO -- cgit v1.2.3