[ClamAV] Modify /dev/console to fit permissions

master
André 2018-05-02 21:08:40 +02:00
parent 4c31adaa82
commit d14e6c184b
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@ fi
mkdir -p /var/log/clamav mkdir -p /var/log/clamav
touch /var/log/clamav/clamd.log /var/log/clamav/freshclam.log touch /var/log/clamav/clamd.log /var/log/clamav/freshclam.log
chown -R clamav:clamav /var/log/clamav/ chown -R clamav:clamav /var/log/clamav/
chown root:tty /dev/console
chmod g+rw /dev/console
# Prepare # Prepare
BACKGROUND_TASKS=() BACKGROUND_TASKS=()

View File

@ -59,7 +59,7 @@ services:
- redis - redis
clamd-mailcow: clamd-mailcow:
image: mailcow/clamd:1.10 image: mailcow/clamd:1.11
build: ./data/Dockerfiles/clamd build: ./data/Dockerfiles/clamd
restart: always restart: always
tty: true tty: true