From 301eb3f07eedcbd824926c766c6969d3c6f99e21 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Mon, 29 Jul 2019 03:31:58 +0800 Subject: [PATCH] Make sure Tor data dir permission is 700 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 92d2a60..1daac8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ LABEL version="latest" RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories && \ apk -U upgrade && \ apk -v add tor@edge curl && \ + chmod 700 /var/lib/tor && \ rm -rf /var/cache/apk/* RUN tor --version COPY torrc /etc/tor/