Commit 8171dd49 authored by The Heavy's avatar The Heavy 🚂
Browse files

Fix /etc permissions

parent 75b00d61
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@ chown -R opendkim:opendkim /etc/dkimkeys
chown -R clamav:clamav /var/lib/clamav
chown -R mysql:root /var/run/mysqld
chmod -R go-w /etc/postfix
chmod go-w /etc

# find the container's IP address (no doubt there are some containers that break this as we assume eth0 is the network device)
MY_IP=$(ip addr show dev eth0 | grep -Eo 'inet (.*)/' | sed -e 's#inet ##' -e 's#/##')