You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-plex/init/99_chown_plex_owned_files.sh

9 lines
214 B

#!/bin/bash
if [ -d "/config/Library" ]; then
find "/config/Library" \! -user abc -exec chown -h abc:abc {} \;
find "/config/Library" \! -group abc -exec chown -h abc:abc {} \;
chmod -R ug+w "/config/Library"
fi