X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsecurity%2Fexe_perm.sh;h=d3b68143f60ceb1fee2c99750aa24b2465757c21;hb=114c4d0b2dcaebe6bab3a24ad07483c5bacc7ece;hp=6d8ed90e66f66c6b75f5cdad44e58f2474445474;hpb=aa3c39c42b175ba42febe295be6da7fae47713a8;p=feisty_meow.git diff --git a/scripts/security/exe_perm.sh b/scripts/security/exe_perm.sh index 6d8ed90e..d3b68143 100644 --- a/scripts/security/exe_perm.sh +++ b/scripts/security/exe_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 755 {} ';' + find -L "$current" -type d -exec chmod 755 {} ';' # >/dev/null 2>/dev/null - find "$current" -type f -exec chmod 755 {} ';' + find -L "$current" -type f -exec chmod 755 {} ';' # >/dev/null 2>/dev/null done