force take ownership of runtime directories
This commit is contained in:
parent
ca37bd4089
commit
f6bda80b82
|
@ -2,7 +2,9 @@
|
|||
|
||||
set -e
|
||||
|
||||
[[ "$(id -u)" == 0 ]] && s6-setuidgid trackmania "$0"
|
||||
[[ "$(id -u)" == 0 ]] && \
|
||||
chown -R trackmania:trackmania /var/lib/xaseco && \
|
||||
s6-setuidgid trackmania "$0"
|
||||
|
||||
cd /var/lib/xaseco
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
set -e
|
||||
|
||||
[[ "$(id -u)" == 0 ]] && s6-setuidgid trackmania "$0"
|
||||
[[ "$(id -u)" == 0 ]] && \
|
||||
chown -R trackmania:trackmania /var/lib/tmserver && \
|
||||
s6-setuidgid trackmania "$0"
|
||||
|
||||
cd /var/lib/tmserver
|
||||
|
||||
|
|
Loading…
Reference in New Issue