Error occures while running amcheck on an amanda config:
Amanda Backup Client Hosts Check -------------------------------- ERROR: NAK bears.transolutions.net: access as amandabackup not allowed from [email protected]: /var/lib/amanda/.amandahosts: incorrect permissions; file must be accessible only by its owner Client check: 2 hosts checked in 0.228 seconds, 1 problem found
Check what the current permissions are on the /var/lib/amanda/.amandahosts file:
ls -al /var/lib/amanda/.amandahosts -rw-rw---- 1 amandabackup disk 130 May 24 11:39
The solution is change the permission of the /var/lib/amanda/.amandahosts file on the client host:
chmod 600 /var/lib/amanda/.amandahosts