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/90_chown_plex_owned_files.sh

11 lines
191 B

#!/bin/bash
if [ -d "/config/Library" ]; then
find /config/Library ! \( -user abc -a -group abc \) -exec chown -hv abc:abc {} +
else
mkdir /config/Library
chown abc:abc /config/Library
fi