10 lines
293 B
Plaintext
10 lines
293 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
echo 'Adapting permissions of "."'
|
||
|
chown -R $(whoami) .
|
||
|
find . -path ./plugged -prune -o -type d -exec chmod 755 {} \;
|
||
|
find . -path ./plugged -prune -o -type f -exec chmod 644 {} \;
|
||
|
|
||
|
echo 'Adapting permissions of "./.restore-permissions"'
|
||
|
chmod 755 ./.restore-permissions
|