I would suspect your chmod 777 was inappropriate as I believe you should have 
just chmod'd var/named/slaves.

The chmod isn't inheritable like windows.

-- 
 Jason Hellenthal
 Voice: 95.30.17.6/616
 JJH48-ARIN

> On Jan 11, 2014, at 19:11, Mikael Johansson <mikael.johans...@addpro.se> 
> wrote:
> 
> On 12 Jan 2014 00:14, Georgy Goshin <georgy.gos...@gmail.com> wrote:
> >
> > Hi,
> >
> > CentOS, 6.5, default bind package bind-9.8.2-0.17.rc1.el6_4.6.x86_64.
> >
> > trying to add slave zone with command rndc addzone "zone.local" '{ type 
> > slave; file "slaves/zone.local"; masters { 172.31.199.154; }; };'
> >
> > 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.
> >
> > allow-new-zones yes;
> >
> > tried with chmod 777 for /var/named, /etc/named, /usr/lib64/bind but 
> > nothing helps.
> >
> > please advice me a way to find why permission is denied. 
> >
> >
> > thanks in advance.
> 
> Hi,
> 
> Have you checked if this might be related to SELinux?
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
> from this list
> 
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to