Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2008 00:56:17 +0800
From:      Eugene Grosbein <eugen@kuzbass.ru>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        net@freebsd.org
Subject:   Re: permissions on /etc/namedb
Message-ID:  <20080803165617.GA45778@svzserv.kemerovo.su>
In-Reply-To: <Pine.BSF.3.96.1080804013046.13190C-100000@gaia.nimnet.asn.au>
References:  <20080803144719.GA33577@svzserv.kemerovo.su> <Pine.BSF.3.96.1080804013046.13190C-100000@gaia.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> So hacking /etc/rc.d/named in chroot_autoupdate to do something like:
> 
> 	files_bind_writes='named.run'	# whatever
> 	for f in ${files_bind_writes}; do 
> 		touch ${named_chrootdir}/etc/namedb/${f}
> 		chown bind:wheel ${named_chrootdir}/etc/namedb/${f}
> 	done
> 
> wouldn't work for you?

I don't like the idea to write fixed list of file names;
I'd like to use file system permissions to give bind right
to write to directory, they (perms) exist exactly for that.

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080803165617.GA45778>