2 # normal_perm: traverses directory trees and sets the permissions to a
3 # standard accessibility value. for fred, this is rwxr-xr-x for directories
4 # and rw-r--r-- for files.
8 if [ -z "${args[*]}" ]; then
9 echo "no arguments provided."
13 for (( i=0; i < ${#args[*]}; i++ )); do
15 # echo "curr is $current"
16 find -L "$current" -type d -exec chmod 755 {} ';'
17 ### >/dev/null 2>/dev/null
18 find -L "$current" -type f -exec chmod 644 {} ';'
19 ### >/dev/null 2>/dev/null