[wp-trac] [WordPress Trac] #6631: File and Directory Persmission are not checked by install.php

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 7 12:25:41 GMT 2008


#6631: File and Directory Persmission are not checked by install.php
-------------------------+--------------------------------------------------
 Reporter:  hakre        |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.5.1    
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 I personally and many other users according to the feedback I see and
 discuss in the support forums theses days encounter upgrade and
 installation problems because the file upload does not work. For version
 2.5 this might escalate a lot, because there are numerous technical issues
 with a new uploader software that ships the first time with that version.

 Anyway it would help a lot, if the install and/or upgrade script does
 check for the right persmissions in the wp-upload folder while upgrading /
 installing.

 Those are:
  * The user php is executed under can access the directory
  * That user can create a directory inside that directory
  * That user can create a file inside that created direcotry

 A simple mkdir and temporary file creation could verify that. If those
 tests fail, it would be a good idea to display a message. Maybe it's a
 good Idea as well to provide such a test inside the admin sothat the blogs
 setup can be checked later on as well.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6631>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list