summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2024-01-18 10:31:35 +0000
committerDave Hibberd <d@vehibberd.com>2024-01-18 10:31:35 +0000
commitd4d0aaa8ab254220379847e085324dd77a71ffff (patch)
tree0bd883ede92aaeef790b3dbeb2605264134e423e /debian
parent710cc6fde7454126b4b749cc121c4bd0860aeb7f (diff)
Update permissions post install on config to allow for web ui edits
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/postinst2
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index cabb37c..57852ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+linbpq (6.0.24.27-2) UNRELEASED; urgency=medium
+
+ * Permissions fix for web-config-editor users
+
+ -- Dave Hibberd <d@vehibberd.com> Thu, 18 Jan 2024 10:31:04 +0000
+
linbpq (6.0.24.27-1) unstable; urgency=medium
* New Upstream Release
diff --git a/debian/postinst b/debian/postinst
index 70eac96..ea47392 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -22,6 +22,8 @@ if [ "$1" = configure ]; then
adduser linbpq dialout
chown :linbpq /opt/oarc/bpq
chmod 775 /opt/oarc/bpq
+ chown :linbpq /etc/bpq32.cfg
+ chmod 664 /etc/bpq32.cfg
# If we have setcap is installed, set the requirements
# which allows us to install our binaries without the setuid
# bit.