ng: Add FIXME wrt failure to start if data directory owned by root
This commit is contained in:
parent
1c79b49c74
commit
aa886a0b49
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
data_dir_owner="$(stat -c %u "/var/lib/prosody/")"
|
||||
if [[ "$(id -u prosody)" != "$data_dir_owner" ]]; then
|
||||
# FIXME this fails if owned by root
|
||||
usermod -u "$data_dir_owner" prosody
|
||||
fi
|
||||
if [[ "$(stat -c %u /var/run/prosody/)" != "$data_dir_owner" ]]; then
|
||||
|
|
Loading…
Reference in a new issue