diff --git a/README.md b/README.md index d17ffb8..ad0b4eb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ### ISC BIND9 Container (Stable: 9.12.4_xx) built on top of Alpine ### Last update: 5-4-19 -### Latest Stable Docker Tag: 9.12.4_p1-r1 +### Latest Stable Docker Tag: 9.12.4_p1-r1-fix1 NOTE: "Last Update" is the date of the latest DockerHub build. diff --git a/container/entrypoint.sh b/container/entrypoint.sh index 1342f4e..72fbd79 100755 --- a/container/entrypoint.sh +++ b/container/entrypoint.sh @@ -1,6 +1,7 @@ #!/bin/sh OPTIONS=$@ -chown -R root:named /etc/bind /var/cache/bind /var/run/named +chown -R root:named /etc/bind /var/run/named +chown -R named:named /var/cache/bind chmod -R 770 /var/cache/bind /var/run/named chmod -R 750 /etc/bind # Run in foreground and log to STDERR (console):