add set-permissions script

This commit is contained in:
Olaf Rempel 2006-07-27 12:11:01 +02:00
parent af78c47910
commit 5a832e175a

8
set-permissions.sh Normal file
View 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