X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsecurity%2Feasy_perm.sh;h=472aa6f31aa96e71e8d9d55535228a52ecc6ab5e;hb=8d1f8f686d8b7f306d9f8ed36561f553c609acc0;hp=6663909bdb4e30efe178ce1cd49ea3a42915d15b;hpb=aa3c39c42b175ba42febe295be6da7fae47713a8;p=feisty_meow.git diff --git a/scripts/security/easy_perm.sh b/scripts/security/easy_perm.sh index 6663909b..472aa6f3 100644 --- a/scripts/security/easy_perm.sh +++ b/scripts/security/easy_perm.sh @@ -13,9 +13,9 @@ for (( i=0; i < ${#args[*]}; i++ )); do current="${args[i]}" # echo "curr is $current" - find "$current" -type d -exec chmod 777 {} ';' + find -L "$current" -type d -exec chmod 777 {} ';' # >/dev/null 2>/dev/null - find "$current" -type f -exec chmod 666 {} ';' + find -L "$current" -type f -exec chmod 666 {} ';' # >/dev/null 2>/dev/null done