Add permissions file
This commit is contained in:
parent
ed6715dc05
commit
0ebf0c6a13
|
@ -0,0 +1,11 @@
|
|||
#!/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
|
||||
|
||||
find . -path ./plugged -prune -o -type f -exec ls -l {} \;
|
Loading…
Reference in New Issue