Skip to content

Commit

Permalink
Chown & chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
asteel-gsa committed Nov 21, 2024
1 parent 5cfb93c commit 2c36532
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
mkdir -p /clamav/etc
mkdir -p /clamav/data
mkdir -p /clamav/tmp
chown -R clamav.clamav /clamav/data
cp /etc/clamav/* /clamav/etc/
chown -R clamav.clamav /clamav/data
chown -R clamav.clamav /clamav/tmp
chmod 0700 /clamav/etc/freshclam.conf

# Replace values in freshclam.conf
sed -i 's/^#\?NotifyClamd .*$/NotifyClamd \/clamav\/etc\/clamd.conf/g' /clamav/etc/freshclam.conf
Expand Down

0 comments on commit 2c36532

Please sign in to comment.