From 36d406ee71ed0f1c8c0620a1712c61cffe1d6112 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Thu, 26 Dec 2024 23:22:43 +0100 Subject: [PATCH] fix: divide chown and chgrp --- Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 9872696..c648d23 100644 --- a/Containerfile +++ b/Containerfile @@ -31,7 +31,8 @@ RUN addgroup imapfilter RUN adduser -D -G imapfilter imapfilter # ensure a homedirectory for the user exists and has correct access rights RUN mkdir -p /home/imapfilter -RUN chown imapfilter.imapfilter /home/imapfilter +RUN chown imapfilter /home/imapfilter +RUN chgrp imapfilter /home/imapfilter # run everything as the imapfilter user USER imapfilter