[openSuSE 11.1] the working directory is not writable
Lothar Behrens
lothar.behrens at lollisoft.de
Fri Jan 9 11:11:10 UTC 2009
Hi,
I have read some postings here in the group that states to set the
group writability for the named directory.
But it still keeps logging the error message from the topic.
Log:
Jan 9 11:55:53 vmhost named[11970]: starting BIND 9.5.0-P2 -t /var/
lib/named -u named
Jan 9 11:55:53 vmhost named[11970]: found 1 CPU, using 1 worker
thread
Jan 9 11:55:53 vmhost named[11970]: loading configuration from '/etc/
named.conf'
Jan 9 11:55:53 vmhost named[11970]: the working directory is not
writable
My working directory is /var/lib/named and the permissions ara as
follows:
vmhost:/var/lib # ls -l named
total 52
-rw-r--r-- 1 named named 192 Jul 4 2001 127.0.0.zone
-rw-rw-r-- 1 named named 260 Jan 7 13:01 192.168.100.zone
-rw-rw-r-- 1 named named 230 Jan 6 22:35 192.168.150.zone
-rw-rw-r-- 1 named named 217 Jan 6 22:35 192.168.178.zone
-rw-rw-r-- 1 named named 467 Jan 9 11:30 behrens.de
drwxr-xr-x 2 named named 4096 Jan 6 20:51 dev
drwxr-xr-x 2 named named 4096 Dec 9 20:40 dyn
drwxr-xr-x 3 named named 4096 Jan 9 11:55 etc
-rw-r--r-- 1 named named 158 Jul 4 2001 localhost.zone
drwxr-xr-x 2 named named 4096 Jan 9 11:32 log
-rw-r--r-- 1 named named 2878 Dec 9 20:40 root.hint
drwxr-xr-x 2 named named 4096 Dec 9 20:40 slave
drwxr-xr-x 4 named named 4096 Jan 6 18:21 var
vmhost:/var/lib # ls -l
drwxrwxr-x 8 named named 4096 Jan 9 11:30 named
I have added g+w permissions to the zone files and behrens.de, but
this also doesn't help.
My named.conf looks like this:
options {
# The directory statement defines the name server's working
directory
directory "/var/lib/named";
# Write dump and statistics file to the log subdirectory. The
# pathenames are relative to the chroot jail.
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
...
What am I doing wrong ?
Are the dump-file and statistics-file entries the reason ?
Thanks
Lothar
More information about the bind-users
mailing list