Executing a script in zsh - file permissions

view story

http://unix.stackexchange.com – I'm confused about execute file permissions not behaving as I expect. Probably because my expectations are wrong. Anyway: I have a script file, for simplicity is just called s, located in ~/bin. For the sake of this example, the file contains just the following lines: #!/bin/zsh echo "Test"; Very simple. I navigate to the ~/bin directory, and chmod the file permissions of s to 400 - i.e., read-only for me only. No execute permission. So then I try executing the script by entering its path, giving this: % ./s zsh: permission denied: ./s So far so good. The file can't be executed due to (HowTos)