docker-plex-wireguard/init/99_chown_plex_owned_files.sh

8 lines
242 B
Bash
Raw Normal View History

2015-07-03 10:34:26 +02:00
#!/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