* Operate one directory higher, on "/config/Library" instead of "/config/Library/Application Support" * Make all files user and group writable (chmod ug+w) so they can be modifed over a network sharepull/5/head
parent
77f884f978
commit
0219898db6
@ -1,7 +1,8 @@
|
||||
#!/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 {} \;
|
||||
if [ -d "/config/Library" ]; then
|
||||
find "/config/Library" \! -user abc -exec chown -h abc:abc {} \;
|
||||
find "/config/Library" \! -group abc -exec chown -h abc:abc {} \;
|
||||
chmod -R ug+w "/config/Library"
|
||||
fi
|
||||
|
Loading…
Reference in new issue