[wp-trac] [WordPress Trac] #20330: Differences between creating folders for plugins and uploaded media (problem with safe_mode)

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 30 11:54:21 UTC 2012


#20330: Differences between creating folders for plugins and uploaded media
(problem with safe_mode)
--------------------------+------------------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by dd32):

 > There is folder "2012" automatically created, but "03" folder is not
 created. Folder 2012 has CHMOD 0777, but is owned probably by another
 user, because it is not possible to edit it through FTP client - "Cannot
 change attributes of remote files!"

 this is the exact problem safe_mode ends up introducing.. If you use your
 webhosts control panel file editor, you should be able to alter it from
 there (rather than ftp)

 > Is it possible to use FTP method with the help of any hook?
 Nothing that's integrated into the file uploader, it would be a lot of
 work, for little return.

 More modern server setups no longer use safe_mode (as it's no longer
 included in latest php builds) and use suexec/suphp (resulting in no need
 for safe_mode and user ownership issues).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20330#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list