Add chown so Preferences.xml doesn't end up owned as root.

This commit is contained in:
Mark Walker 2016-12-08 13:34:49 +01:00
parent 1755f101c8
commit 9744b72796

View File

@ -68,6 +68,7 @@ if [ ! -e "${prefFile}" ]; then
<?xml version="1.0" encoding="utf-8"?>
<Preferences/>
EOF
chown -R plex:plex "$(dirname "${prefFile}")"
fi
# Setup Server's client identifier