[wp-trac] [WordPress Trac] #35946: ssh2/sftp doesn't work in chrooted environments

WordPress Trac noreply at wordpress.org
Thu Feb 25 10:04:24 UTC 2016


#35946: ssh2/sftp doesn't work in chrooted environments
----------------------------+------------------------------
 Reporter:  aberbenni       |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  4.4.2
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  administration
----------------------------+------------------------------
Changes (by aberbenni):

 * focuses:   => administration


Comment:

 Follow up.

 Patch #35517 installed.

 Run fixed '''''Wp FS Tester''''':


 {{{
 Connection Method       ssh2
 ABSPATH /var/www/www.mydomain.com/website/
 PLUGINDIR       wp-content/plugins
 FS Errors       None
 FS CWD  /
 FS WordPress Locator    Looking for /var/www/www.mydomain.com/website in /
 Found /website
 FS WordPress Location   /website/
 FS0 WordPress Locator (Old code)        Modified in /
 Found website Modified in /website/
 FS0 WordPress Location (Old code)       /website/
 Plugin location:        /var/www/www.mydomain.com/website/wp-
 content/plugins/wp-filesystem-tester.php (Local)
 /website/wp-content/plugins/wp-filesystem-tester.php (FTP)
 Plugin Locations
 hello.php       /website/wp-content/plugins/    Delete file: /website/wp-
 content/plugins/hello.php
 akismet/akismet.php     /website/wp-content/plugins/akismet/    Delete
 entire folder: /website/wp-content/plugins/akismet/
 File IO Errors  All File IO tests passed.
 Created /website/wp-content/plugins/super-long-name-not-to-conflict.php
 Verified conents
 Deleted /website/wp-content/plugins/super-long-name-not-to-conflict.php
 Downloading a zip       Downloading
 http://downloads.wordpress.org/plugin/akismet.zip... Suceeded
 Extracting Zip  Suceeded
 Zip Contents
 akismet/        0       ok      binary
 akismet/_inc/   0       ok      binary
 akismet/_inc/img/       0       ok      binary
 akismet/_inc/img/logo-full-2x.png       4970    ok      binary
 akismet/_inc/akismet.js 6295    ok      binary
 akismet/_inc/form.js    700     ok      binary
 akismet/_inc/akismet.css        8748    ok      binary
 akismet/class.akismet.php       43719   ok      <?php

 class Akismet {
         const API_HOST = 'rest.aki...
 akismet/LICENSE.txt     18092   ok                          GNU GENERAL
 PUBLIC LICENSE
    ...
 akismet/akismet.php     2381    ok      <?php
 /**
  * @package Akismet
  */
 /*
 Plugin Name: ...
 akismet/index.php       26      ok      <?php
 # Silence is golden....
 akismet/class.akismet-widget.php        2719    ok      <?php
 /**
  * @package Akismet
  */
 class Akismet_Wi...
 akismet/views/  0       ok      binary
 akismet/views/config.php        10682   ok      <div class="wrap">

         <h2><?php esc_html_e( 'Akisme...
 akismet/views/strict.php        761     ok      <fieldset>
         <legend class="screen-reader-text">
                 ...
 akismet/views/get.php   595     ok      <form name="akismet_activate"
 action="https://akis...
 akismet/views/start.php 6547    ok      <div class="no-key config-
 wrap"><?php
         if ( $akism...
 akismet/views/stats.php 551     ok      <div class="wrap">
         <h2><?php esc_html_e( 'Akismet...
 akismet/views/notice.php        8697    ok      <?php if ( $type ==
 'plugin' ) :?>
 <div class="upd...
 akismet/readme.txt      12687   ok      === Akismet ===
 Contributors: matt, ryan, andy, md...
 akismet/wrapper.php     6427    ok      <?php

 global $wpcom_api_key, $akismet_api_host, $...
 akismet/class.akismet-admin.php 39526   ok      <?php

 class Akismet_Admin {
         const NONCE = 'akism...
 akismet/.htaccess       616     ok      binary
 }}}

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


More information about the wp-trac mailing list