fix permissions in spool directory created in post install script

addresses #291
This commit is contained in:
Jan-Piet Mens 2019-02-17 21:08:42 +01:00
parent a3beb76586
commit 02a48a67bd
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ case "$1" in
mkdir -p /var/spool/owntracks/recorder/store/ghash
chown -R owntracks:owntracks /var/spool/owntracks/recorder/store
chown owntracks:owntracks /etc/default/ot-recorder
chgrp owntracks /var/spool/owntracks/recorder/store/ghash
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
/usr/sbin/ot-recorder --initialize

View File

@ -15,7 +15,7 @@ case "$1" in
mkdir -p /var/spool/owntracks/recorder/store/ghash
chown -R owntracks:owntracks /var/spool/owntracks/recorder/store
chown owntracks:owntracks /etc/default/ot-recorder
chgrp owntracks /var/spool/owntracks/recorder/store/ghash
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
/usr/sbin/ot-recorder --initialize