[wp-trac] [WordPress Trac] #29610: FTPext Filesystem class can't detect isWritable, isReadable correctly

WordPress Trac noreply at wordpress.org
Mon Nov 10 22:22:49 UTC 2014


#29610: FTPext Filesystem class can't detect isWritable, isReadable correctly
----------------------------+------------------------------
 Reporter:  programmin      |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  2.5
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by programmin):

 As a side note, it looks like it never checks permissions when upgrading
 WP plugin. You can reliably test this by doing sudo chmod -R 544
 ./nextgen-gallery/products/ for example.

 If there is a permissions problem (or, out-of-memory or any other fatal
 error when upgrading) the plugin will be incomplete - for example:

 Installing the latest version…

 Removing the old version of the plugin…

 Could not remove the old plugin.

 Plugin update failed.




 Worse yet, there is now no way to re-install the plugin short of manual
 FTP, even if permissions are corrected or the source of the fatal is
 resolved:



 Unpacking the package…

 Installing the plugin…

 Destination folder already exists. (directory)

 Plugin install failed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29610#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list