HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
192bfb2
)
scripts/domtool-publish: Fix bind permissions
author
Michael Olson
<mwolson@hcoop.net>
Wed, 29 Aug 2007 17:48:11 +0000
(17:48 +0000)
committer
Michael Olson
<mwolson@hcoop.net>
Wed, 29 Aug 2007 17:48:11 +0000
(17:48 +0000)
scripts/domtool-publish
patch
|
blob
|
blame
|
history
diff --git
a/scripts/domtool-publish
b/scripts/domtool-publish
index
f4943ba
..
4ae5f4e
100755
(executable)
--- a/
scripts/domtool-publish
+++ b/
scripts/domtool-publish
@@
-38,7
+38,10
@@
case $1 in
;;
bind)
/usr/bin/rsync -r --delete /var/domtool/zones/ /etc/bind/zones/
;;
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/cp /var/domtool/named.conf.local /etc/bind/
+ /bin/chown root:bind_config /etc/bind/named.conf.local
+ /bin/chgrp u=rw,g=rw,o=r /etc/bind/named.conf.local
/etc/init.d/bind9 reload
;;
exim)
/etc/init.d/bind9 reload
;;
exim)