Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> What would test -x say on Windows, which has no executable bit?

It would say whether the file extension is executable (part of pathext env variable)



I should think it says the same thing as on Linux, since there absolutely is an 'executable bit' (GENERIC_EXECUTE) in the ACL.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: