Maintained by: NLnet Labs

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

Robert Edmonds
Tue Jul 30 05:59:58 CEST 2013

shmick at 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