I am running shell scripts on NT version of bash. I have found that chmod has no effect on access to files (although ls shows changed permissions). I have to use cacls instead of chmod, but I am trying to keep my scripts portable.