From 15dcc347b914b059ebaf135918cea1d5ff7d367f Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Tue, 24 Oct 2023 16:14:49 +0200 Subject: [PATCH] Change permissions (+r) on binaries closes #428 --- etc/centos/postinst | 2 +- etc/debian/postinst | 2 +- etc/raspbian/postinst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/centos/postinst b/etc/centos/postinst index 34690b4..fd8218a 100644 --- a/etc/centos/postinst +++ b/etc/centos/postinst @@ -17,7 +17,7 @@ case "$1" in chown owntracks:owntracks /etc/default/ot-recorder chown -R owntracks:owntracks /var/spool/owntracks/ chown owntracks:owntracks /usr/bin/ocat /usr/sbin/ot-recorder - chmod 4111 /usr/bin/ocat /usr/sbin/ot-recorder + chmod 4555 /usr/bin/ocat /usr/sbin/ot-recorder /usr/sbin/ot-recorder --initialize if [ -x /bin/systemctl ]; then diff --git a/etc/debian/postinst b/etc/debian/postinst index 6b5a421..2707cc1 100644 --- a/etc/debian/postinst +++ b/etc/debian/postinst @@ -20,7 +20,7 @@ case "$1" in chmod a+rX -R /usr/share/owntracks/ - chmod 4111 /usr/bin/ocat /usr/sbin/ot-recorder + chmod 4555 /usr/bin/ocat /usr/sbin/ot-recorder /usr/sbin/ot-recorder --initialize diff --git a/etc/raspbian/postinst b/etc/raspbian/postinst index 9946fbf..28ab065 100644 --- a/etc/raspbian/postinst +++ b/etc/raspbian/postinst @@ -20,7 +20,7 @@ case "$1" in chmod a+rX -R /usr/share/owntracks/ - chmod 4111 /usr/bin/ocat /usr/sbin/ot-recorder + chmod 4555 /usr/bin/ocat /usr/sbin/ot-recorder /usr/sbin/ot-recorder --initialize