18 Mar
2003
18 Mar
'03
23:36
* Jesse Marlin (jlm@compgen.com) [030318 15:25]:
Yes, but the directory also needs to be executable to execute. Try creating a file in a directory that has the execute bit on then turn it off.
No, Jonathan is correct. E.g., hades:/tmp # whoami root hades:/tmp # mkdir test hades:/tmp # echo -e '#!/bin/sh\necho hello\n' > test/1 hades:/tmp # chmod +x test/1 hades:/tmp # chmod 600 test hades:/tmp # l -d test drw------- 2 root root 72 Mar 18 15:34 test/ hades:/tmp # test/1 hello -- -ckm