diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-04-01 22:53:30 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-04-01 22:53:30 +0200 |
commit | 870c46198283aaffa51f36547033b927a59fd97b (patch) | |
tree | d64053e62cea1b89b0beef1f6e0843797504db4d /packaging/docker/catlfish-merge | |
parent | 64c65902819116d44a8890e7af686e7c2eaa828c (diff) |
Is this how we let non-root users write to mounted "volumes"?
Diffstat (limited to 'packaging/docker/catlfish-merge')
-rw-r--r-- | packaging/docker/catlfish-merge/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
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 |