From d4d0aaa8ab254220379847e085324dd77a71ffff Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Thu, 18 Jan 2024 10:31:35 +0000 Subject: [PATCH] Update permissions post install on config to allow for web ui edits --- debian/changelog | 6 ++++++ debian/postinst | 2 ++ 2 files changed, 8 insertions(+) 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 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.