From 75d6fc2589aeaf8fe540d23c99c8e521d3a06e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Fri, 30 Jul 2021 13:39:57 +0200 Subject: [PATCH] Set default socket permissions to 660 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The systemd default is 666, it seems. Signed-off-by: Anders F Björklund --- examples/systemd/buildkit.socket | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/systemd/buildkit.socket b/examples/systemd/buildkit.socket index 9523216b..3f9a35e9 100644 --- a/examples/systemd/buildkit.socket +++ b/examples/systemd/buildkit.socket @@ -4,6 +4,7 @@ Documentation=https://github.com/moby/buildkit [Socket] ListenStream=%t/buildkit/buildkitd.sock +SocketMode=0660 [Install] WantedBy=sockets.target