summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-03-31 22:59:34 +0200
committerLinus Nordberg <linus@nordberg.se>2015-03-31 22:59:34 +0200
commit5859bc056aadcbfa9c8dee790730aefa627f6ce7 (patch)
tree7463883eee3b21585fa8f099d72614c4a1e8c02d
parenta8235152cd6291ea5ac5f8ee68de18c8d45ffafd (diff)
daemon wants to write in /var/run/catlfish
-rw-r--r--packaging/docker/catlfish-dev/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/docker/catlfish-dev/Dockerfile b/packaging/docker/catlfish-dev/Dockerfile
index c371300..9d40087 100644
--- a/packaging/docker/catlfish-dev/Dockerfile
+++ b/packaging/docker/catlfish-dev/Dockerfile
@@ -46,6 +46,8 @@ VOLUME /var/local/db/catlfish
# Working directory is where catlfish.config is. We want to run in
# /var/run/catlfish and not in /usr/local/etc/catlfish, so symlink.
RUN mkdir /var/run/catlfish
+RUN chgrp daemon /var/run/catlfish
+RUN chmod 775 /var/run/catlfish
RUN ln -s /usr/local/etc/catlfish/catlfish.config /var/run/catlfish/
WORKDIR /var/run/catlfish