title: ERROR: open:/etc/bind/named.conf: permission denied on restarting bind9 service
body: <p>I have Debian and Bind9 and Webmin</p>
  
  <p>Yesterday I launch in error the command chmod <code>-Rv 777 /</code> </p>
  
  <p>I tried to run these output commands to generate a script to restore the most recent permissions</p>
  
  <p>but when i <strong>restarted the bind9 service</strong> I get the below <strong>error</strong> message:</p>
  
  <pre><code>May 29 06:29:31 mydomain named[4635]: starting BIND 9.8.4-rpz2+rl005.12-P1 -u bind
  May 29 06:29:31 mydomain named[4635]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2'
  May 29 06:29:31 mydomain named[4635]: ----------------------------------------------------
  May 29 06:29:31 mydomain named[4635]: BIND 9 is maintained by Internet Systems Consortium,
  May 29 06:29:31 mydomain named[4635]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
  May 29 06:29:31 mydomain named[4635]: corporation.  Support and training for BIND 9 are
  May 29 06:29:31 mydomain named[4635]: available at https://www.isc.org/support
  May 29 06:29:31 mydomain named[4635]: ----------------------------------------------------
  May 29 06:29:31 mydomain named[4635]: adjusted limit on open files from 4096 to 1048576
  May 29 06:29:31 mydomain named[4635]: found 1 CPU, using 1 worker thread
  May 29 06:29:31 mydomain named[4635]: using up to 4096 sockets
  May 29 06:29:31 mydomain named[4635]: loading configuration from '/etc/bind/named.conf'
  May 29 06:29:31 mydomain named[4635]: open: /etc/bind/named.conf: permission denied
  May 29 06:29:31 mydomain named[4635]: loading configuration: permission denied
  May 29 06:29:31 mydomain named[4635]: exiting (due to fatal error)
  </code></pre>
  
  <p>Its says error opening <strong>/etc/bind/named.conf permission denied</strong></p>
  
  <p>I have tried to search on Google but haven't found anything.</p>
  
  <p>I tried to uninstall, then purge and re-install but bind9 shows the same error</p>