[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
Fri Sep 18 16:32:56 UTC 2015
#33919: ssh2/sftp doesn't work in chrooted environments, FTP_BASE, FTP_CONTENT_DIR,
FTP_PLUGIN_DIR not available
----------------------------+------------------------------
Reporter: talatorre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version: 4.3
Severity: major | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by talatorre):
An additional comment on my system configuration:
My system is configured with two folders as follows:
{{{
/home/user/website
/var/www/user/website
}}}
The users are chrooted to their ''home'' folders but I have all of the
publicly accessible (web facing) folders for all users located in
''/var/www/''.
I am mounting ''/var/www/user/website'' into the ''home'' folder so the
users can access them as if they were in the same place.
When logging in via an ftp client the user just sees ''/website'', the
SSH2 module is seeing ''/home/user/website'', and apache is seeing
''/var/www/user/website''.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33919#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list