mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-12-22 22:26:27 +00:00
we have to chown in two steps
This commit is contained in:
parent
9cd1df087a
commit
1d181ed440
1 changed files with 2 additions and 1 deletions
3
start.sh
3
start.sh
|
@ -70,7 +70,8 @@ fi
|
|||
chown -R cloudron:cloudron /tmp/mastodon /run/mastodon
|
||||
|
||||
if [[ "$(stat -c '%U' /app/data)" != "cloudron" ]]; then
|
||||
chown -R cloudron:cloudron /app/data
|
||||
chown -R cloudron:cloudron /app/data/*
|
||||
chown cloudron:clourdon /app/data
|
||||
fi
|
||||
|
||||
[[ ! -f /app/data/config.sh ]] && cp /app/pkg/config.sh /app/data/config.sh
|
||||
|
|
Loading…
Reference in a new issue