On Friday, July 11, 2003, 5:07:49 PM, Mark wrote:

[ snip ]

M> That is correct. According to the docs, if the directory is not
M> executable, you can't even get the permissions on the files in it.
M> I'm confused, though. 

M> Let me state at the begining that I'm not a linux guy. Learning, but
M> slowly.

M> -Doesn't PHP run as some user?

PHP runs with the same permissions as Apache.

M> -Is the issue giving that user execute permissions in the web root? 

If Apache cannot create a file in a directory, then PHP can't do it
either.

M> -Why the concern about letting that user have execute permissions,
M> and then prevent anyone (execpt those that have valid reasons) from
M> having write/execute permission to the webroot.

I don't think the problem is with execute permissions. It just needs
to be able to write and read from a directory, not necessarily
execute. Although I'm not too sure about this.

M> Am I missing something basic? Quite possibly...

This isn't the easiest of things...



-- 
Regards,
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to