[wp-trac] [WordPress Trac] #33480: After upgrade to 4.3 unable to update plugins.

WordPress Trac noreply at wordpress.org
Fri Aug 21 06:46:09 UTC 2015


#33480: After upgrade to 4.3 unable to update plugins.
-----------------------------+-----------------------------
 Reporter:  jobst            |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.3.1
Component:  Upgrade/Install  |     Version:  4.3
 Severity:  major            |  Resolution:
 Keywords:  needs-patch      |     Focuses:  administration
-----------------------------+-----------------------------

Comment (by dd32):

 > The real issue is $this->clear_destination uses
 "is_writable/is_writeable" which is a PHP function running in the context
 of the user running apache (nobody in the case above), so obviously the
 files are NOT writeable and never should be!

 The SSH2 code uses the `ssh2.sftp://` wrapper which directs the checks to
 happen on the remote filesystem via the SSH connection. PHP is then
 running the permission checks against SOMEUSER not nobody.

 The problem here is that the `ssh2.sftp://` wrapper appears to be
 malfunctioning and always returning false, probably due to `stat` failing
 over that link - most likely due to a bug in either libssh or the
 interpretation of the server permissions.

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


More information about the wp-trac mailing list