Replace existing chown with lsiown

Signed-off-by: Eric Nemchik <eric@nemchik.com>
pull/387/head
Eric Nemchik 11 months ago
parent d5e04e3193
commit b046c3ffb4
No known key found for this signature in database

@ -3,7 +3,7 @@
# create folders
if [ ! -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" ]; then \
mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
chown -R abc:abc /config
lsiown -R abc:abc /config
fi
# check Library permissions
@ -11,7 +11,7 @@ PUID=${PUID:-911}
if [ ! "$(stat -c %u /config/Library)" = "$PUID" ]; then
echo "Change in ownership detected, please be patient while we chown existing files"
echo "This could take some time"
chown abc:abc -R \
lsiown abc:abc -R \
/config/Library
fi
@ -21,6 +21,6 @@ if [[ -f "/config/Library/Application Support/Plex Media Server/plexmediaserver.
fi
# permissions (non-recursive) on config root and folders
chown abc:abc \
lsiown abc:abc \
/config \
/config/*

Loading…
Cancel
Save