From 542888918c71453a01584f29fcba89cd0e5673fa Mon Sep 17 00:00:00 2001 From: Ventz Petkov Date: Sat, 4 May 2019 02:51:14 -0400 Subject: [PATCH] Hot Fix #1 - https://github.com/ventz/docker-bind/issues/18 --- README.md | 2 +- container/entrypoint.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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):