add set-permissions script
This commit is contained in:
parent
af78c47910
commit
5a832e175a
8
set-permissions.sh
Normal file
8
set-permissions.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
find . -type d -not -perm 755 -exec chmod 755 '{}' \;
|
||||
find . -type f -not -perm 644 -exec chmod 644 '{}' \;
|
||||
|
||||
chown -R root:root *
|
||||
|
||||
chmod 755 $0
|
Loading…
Reference in New Issue
Block a user