summaryrefslogtreecommitdiffstats
path: root/debian/frr.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:07:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:07:03 +0000
commit6e14683b8df2c6c94808c623ac0caeb439d2757e (patch)
treef484c74ac824990c21cf791503a5137140418c77 /debian/frr.postinst
parentAdding debian version 10.0-0.2. (diff)
downloadfrr-6e14683b8df2c6c94808c623ac0caeb439d2757e.tar.xz
frr-6e14683b8df2c6c94808c623ac0caeb439d2757e.zip
Adding debian version 10.0-1.debian/10.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/frr.postinst')
-rw-r--r--debian/frr.postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/frr.postinst b/debian/frr.postinst
index eb9ec67..9c9b4a8 100644
--- a/debian/frr.postinst
+++ b/debian/frr.postinst
@@ -17,8 +17,10 @@ adduser \
usermod -a -G frrvty frr
mkdir -m 0755 -p /var/log/frr
+mkdir -m 0700 -p /var/lib/frr
mkdir -p /etc/frr
+chown frr: /var/lib/frr
# only change ownership of files when they were previously owned by root or
# quagga; this is to ensure we don't trample over some custom user setup.