Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2003 11:42:11 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Tom Parquette <tparquet@twcny.rr.com>
Cc:        questions@freebsd.org
Subject:   Re: Permission denied messages from named
Message-ID:  <20030629234211.GB2542@grimoire.chen.org.nz>
In-Reply-To: <3EFF6FEA.7010509@twcny.rr.com>
References:  <3EFF6FEA.7010509@twcny.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@chen.org.nz>
----------------------------------------------------------------------
                                       Do not take life too seriously.
                                   You will never get out of it alive.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030629234211.GB2542>