* is a wildcard for everything in the directory including files and directories.
so the chmod will remove the execute permission from directories also.
24 karma · joined November 3, 2010
Similar to - There are 10 kinds on people. Those who understand binary and those who don't.