Re[2]: [PHP] So in summary this can't be done due to permission problems?

From: Date: Fri, 11 Jul 2003 14:29:00 +0000
Subject: Re[2]: [PHP] So in summary this can't be done due to permission problems?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154894@lists.php.net to get a copy of this message
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

« previous php.general (#154894) next »