commit
6284176fc1
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [ -f /config/Library/Application Support]; then
|
||||
find "/config/Library/Application Support" -user plex -exec chown abc:abc {} \;
|
||||
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
|
Loading…
Reference in new issue