• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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