scripts/set-permissions.sh

9 lines
157 B
Bash
Raw Normal View History

2006-07-27 12:11:01 +02:00
#!/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