From d4d0aaa8ab254220379847e085324dd77a71ffff Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Thu, 18 Jan 2024 10:31:35 +0000 Subject: [PATCH 1/2] 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. From 6ee8a719cf085f8e4d10007238a115eee4c7dc42 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Thu, 18 Jan 2024 10:32:10 +0000 Subject: [PATCH 2/2] Release --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 57852ca..d40309c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -linbpq (6.0.24.27-2) UNRELEASED; urgency=medium +linbpq (6.0.24.27-2) unstable; urgency=medium * Permissions fix for web-config-editor users - -- Dave Hibberd Thu, 18 Jan 2024 10:31:04 +0000 + -- Dave Hibberd Thu, 18 Jan 2024 10:31:56 +0000 linbpq (6.0.24.27-1) unstable; urgency=medium