docker-plex-wireguard/init/99_chown_plex_owned_files.sh
2015-07-17 22:32:47 -07:00

7 lines
242 B
Bash

#!/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