<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I would suspect your chmod 777 was inappropriate as I believe you should have just chmod'd var/named/slaves.</div><div><br></div><div>The chmod isn't inheritable like windows.<br><br><div style="color: rgb(163, 163, 163); font-family: Ubuntu-Regular; font-size: 16px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.294118); -webkit-composition-fill-color: rgba(175, 192, 227, 0.231373);"><div style="color: rgb(0, 0, 0); font-family: '.HelveticaNeueInterface-M3'; font-size: 17px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); -webkit-composition-fill-color: rgba(175, 192, 227, 0.235294);"><div style="color: rgb(163, 163, 163); font-family: Ubuntu-Regular; font-size: 16px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.294118); -webkit-composition-fill-color: rgba(175, 192, 227, 0.231373);">-- </div><div style="color: rgb(163, 163, 163); font-family: Ubuntu-Regular; font-size: 16px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.294118); -webkit-composition-fill-color: rgba(175, 192, 227, 0.231373);"> Jason Hellenthal</div><div style="color: rgb(163, 163, 163); font-family: Ubuntu-Regular; font-size: 16px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.294118); -webkit-composition-fill-color: rgba(175, 192, 227, 0.231373);"> Voice: <span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); -webkit-composition-fill-color: rgba(175, 192, 227, 0.235294);">95.30.17.6/616</span></div></div><div> JJH48-ARIN</div></div></div><div><br>On Jan 11, 2014, at 19:11, Mikael Johansson <<a href="mailto:Mikael.Johansson@addpro.se">Mikael.Johansson@addpro.se</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


<p dir="ltr">On 12 Jan 2014 00:14, Georgy Goshin <<a href="mailto:georgy.goshin@gmail.com">georgy.goshin@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> CentOS, 6.5, default bind package bind-9.8.2-0.17.rc1.el6_4.6.x86_64.<br>
><br>
> trying to add slave zone with command rndc addzone "zone.local" '{ type slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };'<br>
><br>
> but getting rndc: 'addzone' failed: permission denied, nothing on the logs, only received control channel command 'addzone zone.local { type slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };' even after rndc trace 99.<br>
><br>
> allow-new-zones yes;<br>
><br>
> tried with chmod 777 for /var/named, /etc/named, /usr/lib64/bind but nothing helps.<br>
><br>
> please advice me a way to find why permission is denied. <br>
><br>
><br>
> thanks in advance.</p>
<p dir="ltr">Hi,</p>
<p dir="ltr">Have you checked if this might be related to SELinux?<br>
</p>


</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list</span><br><span></span><br><span>bind-users mailing list</span><br><span><a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a></span><br><span><a href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a></span></div></blockquote></body></html>