mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-16 02:18:27 -07:00
fix permissions in spool directory created in post install script
addresses #291
This commit is contained in:
parent
a3beb76586
commit
02a48a67bd
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user