summaryrefslogtreecommitdiffstats
path: root/debian/frr.postinst
diff options
context:
space:
mode:
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.