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

8 lines
242 B

#!/bin/bash
if [ -d "/config/Library/Application Support" ]; then
find "/config/Library/Application Support" \! -user abc -exec chown -h abc:abc {} \;
find "/config/Library/Application Support" \! -group abc -exec chown -h abc:abc {} \;
fi