summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-08 23:36:01 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-11-09 13:55:23 +0100
commit367988eeb307846fd173caae36905ba645a5305b (patch)
tree336544cf7fe658c1a7fecfc01681fbd8a91a2b21 /lib/log.c
parenta68f861653da95eeddf96f2afabd481db2798613 (diff)
vtysh: set config file permissions
As vtysh may hopefully be running as root from watchquagga here, let's try to fix up ownership and permissions for Quagga.conf. Doing chown/chmod instead of changing the process's user/group IDs has the advantage of fixing up preexisting misconfigurations. Note errors in chmod/chown will print a message but the config is already written at that point. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/log.c')
0 files changed, 0 insertions, 0 deletions