[wp-trac] [WordPress Trac] #14465: Update Plugins Hangs while displaying 'updating'

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 27 13:18:54 UTC 2010


#14465: Update Plugins Hangs while displaying 'updating'
-----------------------------+----------------------------------------------
 Reporter:  jamesfed         |       Owner:                 
     Type:  defect (bug)     |      Status:  new            
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.0.1          
 Severity:  normal           |    Keywords:                 
-----------------------------+----------------------------------------------
Changes (by shawnkhall):

 * cc: shawnkhall (added)


Comment:

 I'm seeing the exact same behavior on dozens of WP sites hosted on Windows
 servers or with strict permissions on various Linux servers. I believe the
 problem is simply that "write" permission is permitted for the WP root,
 but modify, delete and change permissions are not permitted to the user
 account the service runs in. And frankly, that's the way it SHOULD be.

 My preferred behavior would be to put the .maintenance file within the
 "uploads" folder, which is one directory that the user SHOULD have
 appropriate rights assigned, without requiring additional rights
 manipulation for the root of the site.

 I would also prefer to have hooks into this specific function (and
 wp_maintenance()) in order to alter what exactly is printed during
 maintenance mode, instead of using a file (/wp-content/maintenance.php)
 that I have to play with in FTP each time.

 I know that I could setup a default .maintenance file with an assignment
 of 0 to the value for $upgrading and remove rights for the webservice user
 to write to or delete it, which will effectively always bypass maintenance
 mode based on the existence of the file...but I would prefer to have both
 the maintenance mode abilities and the native security from proper file-
 system permissions.

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


More information about the wp-trac mailing list