From bb591d7d75897df0c5093197ec72a2cd8be98017 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 31 Mar 2015 22:59:34 +0200 Subject: daemon wants to write in /var/run/catlfish --- packaging/docker/catlfish-dev/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packaging/docker/catlfish-dev/Dockerfile') 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 -- cgit v1.1