From d74099b7e8d0523604e8ae4b3b675ad9245e878f Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Thu, 26 Dec 2024 23:24:58 +0100 Subject: [PATCH] fix: divide chown and chgrp --- Containerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 26b93f5..33ecc06 100644 --- a/Containerfile +++ b/Containerfile @@ -39,7 +39,9 @@ RUN addgroup rss2email && adduser -D -G rss2email rss2email RUN mkdir -p /home/rss2email/.rss2email/ # ensure a homedirectory for the user exists and has correct access rights -RUN mkdir -p /home/rss2email && chown rss2email.rss2email /home/rss2email +RUN mkdir -p /home/rss2email +RUN chown rss2email /home/rss2email +RUN chgrp rss2email /home/rss2email # run everything as the rss2email user USER rss2email