[ARVADOS-DEV] updated: 0d421679b68f9916b83393f0bb2ef777c1b42d2d

git at public.curoverse.com git at public.curoverse.com
Tue Jan 5 13:28:50 EST 2016


Summary of changes:
 arvbox/lib/arvbox/docker/createusers.sh | 4 ++++
 1 file changed, 4 insertions(+)

       via  0d421679b68f9916b83393f0bb2ef777c1b42d2d (commit)
      from  88b19c236a525a8e1532f967674580282319f58e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 0d421679b68f9916b83393f0bb2ef777c1b42d2d
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Jan 5 13:28:42 2016 -0500

    8080: Workaround for weird nginx permission problem on /var/log/nginx.

diff --git a/arvbox/lib/arvbox/docker/createusers.sh b/arvbox/lib/arvbox/docker/createusers.sh
index eda4161..ec02811 100755
--- a/arvbox/lib/arvbox/docker/createusers.sh
+++ b/arvbox/lib/arvbox/docker/createusers.sh
@@ -15,4 +15,8 @@ if ! grep "^arvbox:" /etc/passwd >/dev/null 2>/dev/null ; then
     useradd --home-dir /var/lib/arvados/git --uid $HOSTUID --gid $HOSTGID --non-unique git
     useradd --groups docker crunch
     chown arvbox:arvbox -R /usr/local
+    chown arvbox:arvbox -R /var/lib/nginx
+    rm -r /var/log/nginx
+    mkdir -p /var/log/nginx
+    chown arvbox:arvbox -R /var/log/nginx
 fi

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list