My understanding is that the default permissions for directories are 0755 and for files 0644, which turns on execution for directories but not files. If you need to change the defaults, you use the umask:

Thanks. Yes, that makes sense now (with past experience and the tests I have been running). Being reminded of that, I went and ran some more tests and it turns out that there is something else that confuses me. None of the files (even the ones that I want to be executable) are executable. I thought that a script file (such as one containing PHP code) had to be executable in order to be served up. Does the executable permission only apply to executing things from the command line and not what Apache can and cannot serve?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to