[wp-trac] [WordPress Trac] #33919: ssh2/sftp doesn't work in chrooted environments, FTP_BASE, FTP_CONTENT_DIR, FTP_PLUGIN_DIR not available

WordPress Trac noreply at wordpress.org
Thu Oct 1 05:39:45 UTC 2015


#33919: ssh2/sftp doesn't work in chrooted environments, FTP_BASE, FTP_CONTENT_DIR,
FTP_PLUGIN_DIR not available
----------------------------+---------------------
 Reporter:  talatorre       |       Owner:  dd32
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.4
Component:  Filesystem API  |     Version:  4.3
 Severity:  major           |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+---------------------
Changes (by dd32):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34738"]:
 {{{
 #!CommitTicketReference repository="" revision="34738"
 Updates: SSH2 Transport: Use a work around to avoid a bug where PHP's SSH2
 extension fails to list the contents of the `/` directory.
 This fixes issues where SSH2 with chrooted environments runs into a
 `Unable to locate WordPress Content directory (wp-content).` error.

 The workaround is to simply list the contents of the `/./` directory
 instead of `/`.

 Fixes #33919
 }}}

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


More information about the wp-trac mailing list