• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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