fix permission
authorSam <sam.saffron@gmail.com>
Wed, 29 Jun 2016 23:50:22 +0000 (09:50 +1000)
committerSam <sam.saffron@gmail.com>
Wed, 29 Jun 2016 23:50:34 +0000 (09:50 +1000)
templates/web.template.yml

index 9523536c6eed0a21df0dd00a0398665d7287b81e..cf6bcdaa735d6a850cb770471a6296899d06162c 100644 (file)
@@ -55,7 +55,7 @@ run:
      contents: |
        #!/bin/bash
        # TODO this should be moved into the base image
-       chown -fR www-data:adm /var/log/nginx
+       chown -fR www-data:www-data /var/log/nginx
        chown -f syslog:adm /var/log/syslog*
        chown -f syslog:adm /var/log/auth.log*
        chown -f syslog:adm /var/log/kern.log*