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

From: Date: Fri, 11 Jul 2003 14:07:49 +0000
Subject: Re: 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-154881@lists.php.net to get a copy of this message
--- Steve Jackson <stephen.jackson@violasystems.com> wrote: > As part of a CMS I wanted to get the user to: > 1) Create a new recordset via a form (with a uniqueid). > 2) Press submit whereupon php gets the ID of the record just > created in > the DB, writes a new page to the server with that unique id and > saves it > as a filename determined by the user. > > No way around that due to permission settings on the webroot? > > So there is no way that PHP can write to the server unless the > directory > it's writing in is executable? That is correct. According to the docs, if the directory is not executable, you can't even get the permissions on the files in it. I'm confused, though. Let me state at the begining that I'm not a linux guy. Learning, but slowly. -Doesn't PHP run as some user? -Is the issue giving that user execute permissions in the web root? -Why the concern about letting that user have execute permissions, and then prevent anyone (execpt those that have valid reasons) from having write/execute permission to the webroot. Am I missing something basic? Quite possibly... ===== Mark Weinstock mark_weinstock@yahoo.com *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com

« previous php.general (#154881) next »