diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-19 13:53:55 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-19 15:54:10 +0200 |
commit | 9bf7cb0b7415857a4ee73676f986012a419a17b8 (patch) | |
tree | 0fcf8a1cfe9fdc222116c746c76216c0d2f085f1 /debian | |
parent | Merge pull request #11012 from anlancs/bgpd-mh-simplify-condition (diff) | |
download | frr-9bf7cb0b7415857a4ee73676f986012a419a17b8.tar.xz frr-9bf7cb0b7415857a4ee73676f986012a419a17b8.zip |
packaging: Set default permissions for /var/log/frr to 0755
At the moment we set /var/log/frr permissions to 0750 (frr:frr), but the log
file is 0640 (root:adm) (unless logrotated) and that doesn't allow adm group
to even open the directory.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/frr.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/frr.postinst b/debian/frr.postinst index 505ff8eaf..4e23cd3ce 100644 --- a/debian/frr.postinst +++ b/debian/frr.postinst @@ -16,7 +16,7 @@ adduser \ frr usermod -a -G frrvty frr -mkdir -p /var/log/frr +mkdir -m 0755 -p /var/log/frr mkdir -p /etc/frr |