summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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