correct the group
authorSam Saffron <sam.saffron@gmail.com>
Fri, 29 Nov 2013 01:43:10 +0000 (17:43 -0800)
committerSam Saffron <sam.saffron@gmail.com>
Fri, 29 Nov 2013 01:43:10 +0000 (17:43 -0800)
templates/web.template.yml

index fa318e60887165168f76647ca5844082faebd97b..a022637910cfd0f1b910136bb4d943875a7e5058 100644 (file)
@@ -81,8 +81,8 @@ run:
         - ln -s /shared/log/rails $home/log
         - mkdir -p /shared/uploads
         - ln -s /shared/uploads $home/public/uploads
-        - chown -R discourse /shared/uploads
-        - chown -R discourse /shared/log/rails
+        - chown -R discourse:www-data /shared/uploads
+        - chown -R discourse:www-data /shared/log/rails
   - exec:
       cmd:
         - "cp $home/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf"