[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:24:32 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):

 Safe_mode significantly reduces the things that PHP can do, while offering
 limited advantages.

 When upgrades are occuring, it's run through FTP, As such, it has much
 higher permissions available to it than PHP normally does. The Uploader
 doesn't use this, as most users would dislike being prompted to enter FTP
 details on every image upload.

 In your case, you'll need to create the uploads folder manually, and chmod
 it to 0777 most likely, after that, you should be able to enable the
 "store uploads in year/month folders" option, and continue on your way..

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


More information about the wp-trac mailing list