summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-04-19 13:53:55 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-04-19 15:54:10 +0200
commit9bf7cb0b7415857a4ee73676f986012a419a17b8 (patch)
tree0fcf8a1cfe9fdc222116c746c76216c0d2f085f1 /debian
parentMerge pull request #11012 from anlancs/bgpd-mh-simplify-condition (diff)
downloadfrr-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.postinst2
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