summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-03-31 22:59:34 +0200
committerLinus Nordberg <linus@nordberg.se>2015-04-01 12:59:16 +0200
commitbb591d7d75897df0c5093197ec72a2cd8be98017 (patch)
tree0ecdc29dd04a3f29aacb6df510dc9e20fffdec95
parent6da80613fa81f936388537aecdc3ebfaa6a96a15 (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