Knowledge Base ISC Main Website Ask a Question/Contact ISC
Why does BIND 9 log "permission denied" errors accessing its configuration files or zones on my Linux system?
Author: ISC Support Reference Number: AA-00318 Views: 6683 Created: 2011-05-16 17:53 Last Updated: 2017-03-15 17:05 0 Rating/ Voters

You may see these "permission denied" errors even though named is running as root.

On Linux, BIND 9 drops most of its root privileges on startup. This includes the privilege to open files owned by other users. Therefore, if the server is running as root, the configuration files and zone files should also be owned by root. If the files must be owned by some other user, then the server should run as that user; this can be set by using the -u option on the command line when launching named.

© 2001-2018 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

  • There is no feedback for this article
Quick Jump Menu