Update permissions post install on config to allow for web ui edits

This commit is contained in:
Dave Hibberd 2024-01-18 10:31:35 +00:00
parent 710cc6fde7
commit d4d0aaa8ab
No known key found for this signature in database
GPG Key ID: 03A1FB7A1904771B
2 changed files with 8 additions and 0 deletions

6
debian/changelog vendored
View File

@ -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 linbpq (6.0.24.27-1) unstable; urgency=medium
* New Upstream Release * New Upstream Release

2
debian/postinst vendored
View File

@ -22,6 +22,8 @@ if [ "$1" = configure ]; then
adduser linbpq dialout adduser linbpq dialout
chown :linbpq /opt/oarc/bpq chown :linbpq /opt/oarc/bpq
chmod 775 /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 # If we have setcap is installed, set the requirements
# which allows us to install our binaries without the setuid # which allows us to install our binaries without the setuid
# bit. # bit.