• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Bug: ProFTPd RLimitChroot triggered on relative path when using FTP account with edited root-path

nilsringersma_nl

Basic Pleskian
TITLE:
ProFTPd RLimitChroot triggered on relative path when using FTP account with edited root-path

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx, 17.8.11 Update #63, CentOS7

PROBLEM DESCRIPTION:
ProFTP protects creation/mutation of files inside 'lib' and 'etc' directories as described here: FTP user is not able to access, upload or create lib or etc directories: Permission Denied.

However when creating additional FTP users in a Plesk subscription _with a specific root folder_ that user can't create files in 'lib' directories _inside_ the subscription.
STEPS TO REPRODUCE:
1. Create subscription;
2. Create folder 'httpdocs/folder1/lib'
3. Create additional FTP user with root-path 'httpdocs/folder1'
4. Login with the new FTP user via FTP client and try to create files in the folder 'lib'


ACTUAL RESULT:
Command: PASV
Response: 227 Entering Passive Mode (185,57,8,148,235,26).
Command: STOR test.php
Response: 550 test.php: Permission denied
Error: Critical file transfer error

EXPECTED RESULT:
Status: File transfer successful, transferred 0 bytes in 1 second

ANY ADDITIONAL INFORMATION:
When not giving a specific root-folder to the new FTP user the problem does not occur. Also when disabling RLimitChroot in ProFTP conf the problem does not occur.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
I can understand that you prevent users from changing anything in /etc or /lib. But this should be the absolute and not the relative path. Please use the absolute path so that FTP users with a specific root path can write to those folders within their own root.
 
Last edited:
Didn't catch why you post your report here but not in a special place with a special form here Reports ?
And I expecting correct YOUR EXPECTATIONS FROM PLESK SERVICE TEAM: from the mentioned form.
Thanks.
 
Didn't catch why you post your report here but not in a special place with a special form here Reports ?
And I expecting correct YOUR EXPECTATIONS FROM PLESK SERVICE TEAM: from the mentioned form.
Thanks.
Woops, sorry IgorG something went wrong there.

I updated the OP, could you move it into 'reports' or would you like me to re-create it there?
 
Back
Top