Re: execute and write, or execute or write

From: Date: Tue, 20 May 2003 08:02:33 +0000
Subject: Re: execute and write, or execute or write
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148260@lists.php.net to get a copy of this message
On Tuesday 20 May 2003 05:15, chris@antharia.com wrote: > another question, to write a file via PHP, regardless of the method (lets > just say doing a file upload), will I need write and execute, or just > either write or execute. Depends. In all cases you need to have execute permission on all directories in the path leading up to (or down to if you prefer) and including the directory that you're trying to write the file in. If you're overwriting an existing file (and you have write permission for that file) then the above is all you need. If you're writing new files then in addition to the above you also need write permission for the directory that you're writing the file in. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Fatal error right in front of screen */

« previous php.general (#148260) next »