Remove `bind_config' group chowning from domtool-publish
authorClinton Ebadi <clinton@unknownlamer.org>
Fri, 4 Jan 2013 08:34:08 +0000 (03:34 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Fri, 4 Jan 2013 08:34:08 +0000 (03:34 -0500)
* This was added so that jsl and others could adminster the bind
  config without full root. No one is doing that now, no reason to
  require a non-standard group for the time being.

scripts/domtool-publish

index da032fe..9a9a01a 100755 (executable)
@@ -40,8 +40,8 @@ case $1 in
                /usr/bin/rsync -r --delete /var/domtool/zones/ /etc/bind/zones/
                /bin/chown -R bind /etc/bind/zones
                /bin/cp /var/domtool/named.conf.local /etc/bind/
                /usr/bin/rsync -r --delete /var/domtool/zones/ /etc/bind/zones/
                /bin/chown -R bind /etc/bind/zones
                /bin/cp /var/domtool/named.conf.local /etc/bind/
-               /bin/chown root:bind_config /etc/bind/named.conf.local
-               /bin/chmod u=rw,g=rw,o=r /etc/bind/named.conf.local
+               /bin/chown root:bind /etc/bind/named.conf.local
+               /bin/chmod 644 /etc/bind/named.conf.local
                /etc/init.d/bind9 restart
        ;;
        exim)
                /etc/init.d/bind9 restart
        ;;
        exim)