diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-08 23:36:01 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-11-09 13:55:23 +0100 |
commit | 367988eeb307846fd173caae36905ba645a5305b (patch) | |
tree | 336544cf7fe658c1a7fecfc01681fbd8a91a2b21 /lib/ptm_lib.h | |
parent | vtysh: add -w option for integrated-config write (diff) | |
download | frr-367988eeb307846fd173caae36905ba645a5305b.tar.xz frr-367988eeb307846fd173caae36905ba645a5305b.zip |
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/ptm_lib.h')
0 files changed, 0 insertions, 0 deletions