Change permissions (+r) on binaries

closes #428
This commit is contained in:
Jan-Piet Mens
2023-10-24 16:14:49 +02:00
parent 493557d0f5
commit 15dcc347b9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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