From: Nrth on
On Fri, 16 Jul 2010 11:08:15 -0700 (PDT), Ramon F Herrera
<ramon(a)conexus.net> wrote:

>
>Warning:
>
>The BIND Configuration Tool provided with RedHat Linux changes the
>file ownership to a non-working condition.
>
>What is the proper ownership, group and permission for the files
>under /var/named?
>
>TIA,
>
>-Ramon

This is from CentOS release 5.5 (Final) with a working bind-chroot install :

# rpm -q bind-chroot
bind-chroot-9.3.6-4.P1.el5_4.2

# pwd
/var/named

# ll
drwxr-x--- 6 root named 4096 Jun 29 06:51 chroot
drwxrwx--- 2 named named 4096 Jan 20 16:31 data
drwxrwx--- 2 named named 4096 Jan 20 16:31 slaves

# cd chroot
# ll
drwxr-x--- 2 root named 4096 Jun 28 16:43 dev
drwxr-x--- 2 root named 4096 Jul 1 06:07 etc
dr-xr-xr-x 134 root root 0 Jul 12 06:51 proc
drwxrwx--- 6 root named 4096 Jun 28 16:43 var

# cd var
# pwd
/var/named/chroot/var

# ll
drwxr-xr-x 2 named named 4096 Jan 20 16:31 log
drwxrwsr-x 4 named named 4096 Jul 16 18:21 named
drwxr-xr-x 4 root named 4096 Jun 29 06:51 run
drwxr-xr-x 2 named named 4096 Mar 13 2003 tmp

HTH.

Nrth.