[ClamAV] Set permission recursively
[Compose] Updaet ClamAV image
This commit is contained in:
parent
9213d65c85
commit
fe9b9f5dfa
@ -17,7 +17,7 @@ chown clamav:clamav /var/lib/clamav/whitelist.ign2
|
|||||||
mkdir -p /run/clamav /var/lib/clamav
|
mkdir -p /run/clamav /var/lib/clamav
|
||||||
chown clamav:clamav /run/clamav /var/lib/clamav
|
chown clamav:clamav /run/clamav /var/lib/clamav
|
||||||
chmod 750 /run/clamav
|
chmod 750 /run/clamav
|
||||||
chmod 755 /var/lib/clamav
|
chmod 755 -R /var/lib/clamav
|
||||||
|
|
||||||
dos2unix /var/lib/clamav/whitelist.ign2
|
dos2unix /var/lib/clamav/whitelist.ign2
|
||||||
sed -i '/^\s*$/d' /var/lib/clamav/whitelist.ign2
|
sed -i '/^\s*$/d' /var/lib/clamav/whitelist.ign2
|
||||||
|
@ -55,7 +55,7 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
|
|
||||||
clamd-mailcow:
|
clamd-mailcow:
|
||||||
image: mailcow/clamd:1.21
|
image: mailcow/clamd:1.22
|
||||||
build: ./data/Dockerfiles/clamd
|
build: ./data/Dockerfiles/clamd
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user