diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-03-05 16:36:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-05 16:36:11 +0100 |
| commit | 7c520f8ec786f6cff411188498822eab00e69afd (patch) | |
| tree | ca270d2011999fe34c93f350b5f8bab116f24f1a /debian | |
| parent | 5ea47f5c7dab6cee38aef355fd78d434a10dd463 (diff) | |
| parent | c11f22119a52a1f150c4929fed81fe00db2d55dc (diff) | |
| download | vyos-1x-7c520f8ec786f6cff411188498822eab00e69afd.tar.gz vyos-1x-7c520f8ec786f6cff411188498822eab00e69afd.zip | |
Merge pull request #5027 from sarthurdev/T8326
geoip: T8326: Resolve permission issue on database paths
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/vyos-1x.postinst | 5 |
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 |
