Hello
I want to have quagga administrable by a couple of non-root users who belong
to the quaggavty group. Therefore they should be able to e.g. view the
logs and edit the config files.
As the original sourcecode used three different umask values and didn't
do what I wanted I decided to add two new configure options:
--enable-configfile-mask=ARG set mask for config files
--enable-logfile-mask=ARG set mask for log files
It's implemented by calling the umask(2) directly before and after the
fopen/open calls which in addition uses the mode where possible, too.
bye,
-christian-
I want to have quagga administrable by a couple of non-root users who belong
to the quaggavty group. Therefore they should be able to e.g. view the
logs and edit the config files.
As the original sourcecode used three different umask values and didn't
do what I wanted I decided to add two new configure options:
--enable-configfile-mask=ARG set mask for config files
--enable-logfile-mask=ARG set mask for log files
It's implemented by calling the umask(2) directly before and after the
fopen/open calls which in addition uses the mode where possible, too.
bye,
-christian-