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

WordPress Trac noreply at wordpress.org
Mon Aug 24 06:32:29 UTC 2015


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

Comment (by dd32):

 @jobst you're correct in that the fileowner may be different, it's
 assuming that the SSH server is the local server (which it should be in
 the majority of cases).

 I'd like to avoid relying upon `run_command()` as it's not available for
 accounts which disallow shell access (For example, chrooted accounts).

 WordPress also doesn't use the owner field, it's effectively wasting IO
 operations retrieving it for compatibility with the FTP return values, the
 same goes for all of these calls:
 {{{
 $struc['perms']         = $this->gethchmod($path.'/'.$entry);
 $struc['permsn']        = $this->getnumchmodfromh($struc['perms']);
 $struc['group']         = $this->group($path.'/'.$entry);
 $struc['size']          = $this->size($path.'/'.$entry);
 $struc['lastmodunix']= $this->mtime($path.'/'.$entry);
 }}}

 As far as I'm concerned, removing is_writable() support from ssh is
 acceptable here, we already don't implement it on FTP for the reasons of
 not being able to effectively determine it.

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


More information about the wp-trac mailing list