diff --git a/set-permissions.sh b/set-permissions.sh new file mode 100644 index 0000000..9a2a913 --- /dev/null +++ b/set-permissions.sh @@ -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