resetting ownership of bind

lkbryant

Verified User
Joined
Aug 16, 2005
Messages
283
hi, i accidentally ran a 'chown -R bla:bla / ' by accident of course(STUPID ME)
and it ran that command on the whole root tree

however i fixed most of othe ownership to the way it was before by hand, and luckily, mysql/ftp/apache are running fine.

but one thing its not working is the bind name server.

im not sure as to how the ownership is set for named.

also, i heard there is an rpm way of doing so to fix permission/ownership. anyone know? i have bind-9.2.4-EL3_10.
i tried rpm --setperms bind-9.2.4-EL3_10 but that doesnt seem to do the trick.

my system is running on redhat enterprise 3.

any help would be greatly appreciated.

thank you.

P.S., this really is an urgent issue and i can't seem to find any help. anyone be kind and if you know please let me know how to resolve this problem asap.
 
For the actual daemon, or for the directory structure?

This works for us on our reference CentOS 3.x server:

-rwxr-xr-x 2 root root 273472 Apr 13 01:55 /usr/sbin/named

-rw-r--r-- 1 root root 3659 Aug 16 09:34 /etc/named.conf

drwxr-x--- 4 root named 4096 Aug 16 09:34 /var/named

-rw-r--r-- 1 root root 764 Feb 10 2005 example.com.db

drwxrwx--- 2 named named 4096 Apr 13 01:54 /var/named/data

drwxrwx--- 2 named named 4096 Apr 13 01:54 /var/named/slaves

Jeff
 
Back
Top