[wp-testers] Another Issue with the upload mechanism

Ryan Boren ryan at boren.nu
Mon Jan 2 20:39:51 GMT 2006


On Mon, 2006-01-02 at 15:27 -0500, Aaron Brazell wrote:
> > This is entirely a server configuration issue. PHP will write the
> > files as whatever user it is running as. The recommended setup for
> > servers is to use suexec or fast-cgi or some other method to run the
> > webserver as the same user whose files will be hosted. Although this
> > is not always the case, there is nothing that WP can and will do about
> > it.
> 
> Actually, I know there is nothing PHP can do about it and I acknowledged that. However, there is something WP can do about it and that is put the old Upload style back in... which is of course what is being discussed and considered.
> 
> I also realize that suexec is a feasible option but I'd say that at least half of all PHP enabled servers do not have suexec installed. Which makes my point something that shouldn't be blown off so tritely.

WP creates directories with the same perms as wp-content.  If wp-content
is set to the needed perms for both server and user to write to the
directories, then all should be well.

Ryan



More information about the wp-testers mailing list