Permission denied messages from named
Jonathan Chen
jonc at chen.org.nz
Sun Jun 29 16:42:14 PDT 2003
On Sun, Jun 29, 2003 at 07:02:02PM -0400, Tom Parquette wrote:
[...]
> Messages from all.log:
> Jun 29 18:02:30 Atlas named[301]: fopen() of 2.168.192.in-addr.arpa.dumptmp failed: Permission denied
[...]
> ld -l of /etc/namedb:
> -rw------- 1 root wheel 610 Mar 27 18:14 2.168.192.in-addr.arpa
[...]
> Results of ps axl:
> 53 301 1 0 96 0 2788 2076 select Is ?? 0:00.53 /usr/sbin/named -d 1 -u bind -g bind
Your "named" process is running as the "bind" user; which has no
permission to read "2.168.192.in-addr.arpa". The fix is to:
chmod a+r 2.168.192.in-addr.arpa
--
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
Do not take life too seriously.
You will never get out of it alive.
More information about the freebsd-questions
mailing list