Hi Laura,

the ownership of the backup directory, its permissions and the user (and group) under which knotd is running are important here.

Regards,

David

On 2021-08-13 12:52, Laura Smith wrote:
It doesn't say much unfortunately, just two lines ....

Aug 13 11:41:47 knotd[12591]: info: control, received command 'zone-backup'
Aug 13 11:41:47 knotd[12591]: error: backup init failed (operation not
permitted)

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Friday, August 13th, 2021 at 11:46 AM, libor.peltan
<[email protected]> wrote:

Hi Laura,

may you check the Knot log, please?

Libor

Dne 13. 08. 21 v 12:44 Laura Smith napsal(a):

> Any ideas what might be causing the following error ?
>
> knotc (Knot DNS), version 3.1.0
>
> $ sudo /usr/sbin/knotc zone-backup -- +backupdir /home/foo/test
>
> error: (operation not permitted)
>
> The destination directory exits. It doesn't matter if I run the command as 
root or knot user, the error is the same.
--
https://lists.nic.cz/mailman/listinfo/knot-dns-users

Reply via email to