Merge pull request #5 from ljm42/patch-1
Update 99_chown_plex_owned_files.sh
This commit is contained in:
commit
1989dd8901
1 changed files with 4 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
if [ -d "/config/Library/Application Support" ]; then
|
if [ -d "/config/Library" ]; then
|
||||||
find "/config/Library/Application Support" \! -user abc -exec chown -h abc:abc {} \;
|
find "/config/Library" \! -user abc -exec chown -h abc:abc {} \;
|
||||||
find "/config/Library/Application Support" \! -group abc -exec chown -h abc:abc {} \;
|
find "/config/Library" \! -group abc -exec chown -h abc:abc {} \;
|
||||||
|
chmod -R ug+w "/config/Library"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue