Linux: /var/lib/named/master owned by root
Jeremy C. Reed
reed at reedmedia.net
Wed May 20 14:01:40 UTC 2020
On Wed, 20 May 2020, Josef Moellers wrote:
> I hope this is the correct location to ask this.
>
> A colleague noticed that on Linux, /var/lib/named/master is owned by
> root:root and thus prevents named (which runs as named:named) to create
> files there. This can cause problems with dynamic DNS and automatic zone
> signing.
>
> Would it be OK to change ownership?
Not really enought context here since these aren't same defaults on all
"Linux" systems. (Generic "Linux" is irrelevant.)
I downloaded a "bind" rpm from opensuse.org and extracted it.
My recommendation is to not change the ownership of the files there
("master" directory). But to create a different directory for the
"dynamic" content and other directories for automated zone signing. I
use multiple directories -- different directories for each zone even. In
the opensuse bind package I looked, it has a ./var/lib/named/dyn
directory. Maybe consider using that "dyn" directory.
More information about the bind-workers
mailing list