summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2026-02-27 14:40:08 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2026-03-05 16:07:54 +0100
commitc11f22119a52a1f150c4929fed81fe00db2d55dc (patch)
treebc569997cdb7c1ff5be2e8e6bc6fd91a4dcf2357 /debian
parent440e116cebac31cb51507b23add9d5c5cb414513 (diff)
downloadvyos-1x-c11f22119a52a1f150c4929fed81fe00db2d55dc.tar.gz
vyos-1x-c11f22119a52a1f150c4929fed81fe00db2d55dc.zip
geoip: T8326: Resolve permission issue on database path
Restore required sudo on geoip op-mode Ensures group/permission set on geoip nftables config
Diffstat (limited to 'debian')
-rw-r--r--debian/vyos-1x.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index 5cfc1a80e..a997ad439 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -156,6 +156,11 @@ chmod -R 775 /opt/vyatta/etc/config
mkdir -p /opt/vyatta/etc/logrotate
mkdir -p /opt/vyatta/etc/netdevice.d
+# T8326: GeoIP permissions
+mkdir -p /var/cache/vyos /usr/share/vyos-geoip
+chown -R root:vyattacfg /var/cache/vyos /usr/share/vyos-geoip
+chmod -R 775 /var/cache/vyos /usr/share/vyos-geoip
+
touch /etc/environment
if [ ! -f /etc/bash_completion ]; then