permissions on /etc/namedb

Eugene Grosbein eugen at kuzbass.ru
Sun Aug 3 16:56:21 UTC 2008


> 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


More information about the freebsd-net mailing list