From 44236fd5df90080e2dcb6d03ffc1d2ccfef4df57 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 24 Oct 2008 13:12:00 +0200 Subject: fix attachments upload permissions --- bin/addproject | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/addproject b/bin/addproject index 53640b6..50849a3 100755 --- a/bin/addproject +++ b/bin/addproject @@ -100,6 +100,7 @@ main() { eexec trac-admin ${trac_home} wiki import WikiStart WikiStart.txt eexec trac-admin ${trac_home} wiki import GettingStarted GettingStarted.txt eexec chown apache:apache ${trac_home}/conf/trac.ini + eexec chown -R apache:apache ${trac_home}/attachments eheading "setting up apache2" eexec sed -i -e "\$a\\# ${project_name} (added on $(date -R))\\" ${APACHE_PROJECT_CONF} -- cgit v1.2.3