From 870c46198283aaffa51f36547033b927a59fd97b Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 1 Apr 2015 22:53:30 +0200 Subject: Is this how we let non-root users write to mounted "volumes"? --- packaging/docker/catlfish-merge/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packaging/docker/catlfish-merge/Dockerfile') diff --git a/packaging/docker/catlfish-merge/Dockerfile b/packaging/docker/catlfish-merge/Dockerfile index 668ee0c..23d2003 100644 --- a/packaging/docker/catlfish-merge/Dockerfile +++ b/packaging/docker/catlfish-merge/Dockerfile @@ -28,6 +28,10 @@ RUN chgrp daemon /var/run/catlfish RUN chmod 775 /var/run/catlfish WORKDIR /var/run/catlfish +# +RUN chgrp daemon /var/local/db/catlfish-merge +RUN chmod 775 /var/local/db/catlfish-merge + # Don't run as root. USER daemon -- cgit v1.1