[Unbound-users] could not open autotrust file for writing

Robert Edmonds edmonds at debian.org
Tue Jul 30 03:59:58 UTC 2013

shmick at riseup.net wrote:
> hi list,
> im getting permission denied for updating root.key but the permissions
> are as follows with read/write for unbound user/group
> -rw-rw-r-- 1 unbound unbound 139 Jul 27 16:28
> /usr/local/etc/unbound/root.key
> there's no other way to update the anchor other than running as root
> ?

i believe unbound-anchor rename()'s the replacement file onto the
existing file, so you will also need permission to write into the
containing directory.

Robert Edmonds
edmonds at debian.org

More information about the Unbound-users mailing list