summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@dev.spline.de>2008-10-24 13:12:00 +0200
committerroot <root@dev.spline.de>2008-10-24 13:12:00 +0200
commit44236fd5df90080e2dcb6d03ffc1d2ccfef4df57 (patch)
tree4a6bd18b5268d35b420539627e2daac1f9ac46d4
parent97c5d8ddaecdc9640d8eecb5f9f699c0264e195f (diff)
downloaddev-scripts-44236fd5df90080e2dcb6d03ffc1d2ccfef4df57.tar.gz
dev-scripts-44236fd5df90080e2dcb6d03ffc1d2ccfef4df57.tar.xz
dev-scripts-44236fd5df90080e2dcb6d03ffc1d2ccfef4df57.zip
fix attachments upload permissions
-rwxr-xr-xbin/addproject1
1 files changed, 1 insertions, 0 deletions
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}