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

WordPress Trac noreply at wordpress.org
Mon Jul 20 01:21:51 UTC 2015


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

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


Comment:

 Marking as resolved for 4.3.

 I acknowledge that @bondnono is still likely affected by a bug here
 though. @bondnono, if you can provide extra details in this ticket I'll
 look into fixing that.

 After considering it, I don't want to add extra handling to cause the
 `FTP_*` constants to work for SSH connections, just as I wouldn't want
 them to affect the `direct` methods. Adding the constants has the
 possibility that people who have used ftp in the past, but switched to SSH
 will then have incorrect paths returned.

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


More information about the wp-trac mailing list