File permission

Michael Kjorling michael at kjorling.com
Mon Sep 24 20:43:13 UTC 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Have you tried

	umask 077 && [possible chroot command] named -u named [other parameters]

Of course, BIND 9 seems to always create its own files (except
pid-file, statistics-file and those other ones that obviously have to
be readable by others) with umask 077. A nuisance at times, a blessing
at others.


Michael Kjörling


On Sep 24 2001 18:35 +0200, Marc wrote:

> Hi all
>
> my named daemon (8.2.4) is runnig in a chroot enviroment as user named
> (named has no shell). The problem is, it always creates new files with
> umask 022.
>
> Is there a way to change umask 022 to 077 for the named daemon ?
>
> Thanks
>
> Marc

- -- 
Michael Kjörling - michael at kjorling.com - PGP: 8A70E33E
Manager Wolf.COM -- Programmer -- Network Administrator
"We must be the change we wish to see" (Mahatma Gandhi)

^..^     Support the wolves in Norway -- go to     ^..^
 \/   http://home.no.net/ulvelist/protest_int.htm   \/

***** Please only send me emails which concern me *****

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For my PGP key: http://michael.kjorling.com/contact/pgp.html

iD8DBQE7r5rkKqN7/Ypw4z4RAmItAKDSo5fqipeb/T4uUgbL1isGqSZKnACfTaYa
wWt9ohZcgGd1+YLQ9nNayuk=
=dJOz
-----END PGP SIGNATURE-----




More information about the bind-users mailing list