From ce44b9564eaeba966f395ef6b3830b51bffa29be Mon Sep 17 00:00:00 2001 From: tabledevil Date: Thu, 1 Feb 2024 14:36:07 +0100 Subject: [PATCH] Added back freshclam privelege fix --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 939c9f9..255510a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,9 @@ RUN chmod +x /start.sh #customize clamav config RUN sed -ie 's/#DetectPUA yes/DetectPUA yes/p' /etc/clamav/clamd.conf RUN sed -ie 's/#AlertOLE2Macros yes/AlertOLE2Macros yes/p' /etc/clamav/clamd.conf +# +RUN chown root /usr/bin/freshclam +RUN chmod u+s /usr/bin/freshclam #add user RUN addgroup -g ${PGID} user && \ adduser -D -u ${PUID} -G user user