Plesk for Linux
kb: technical
ABT: Group B
Applicable to:
- Plesk for Linux
Symptoms
- Inside domains there are directories with the name of system directories like
lib
oretc
: -
FTP users are unable to create, modify or upload any files into that directories. The following error is shown:
CONFIG_TEXT: Permission denied
Cause
By default ProFTPD configuration prohibits any attempts to create, modify or upload files using sensitive directories names like etc
and lib
in the beginning of the command path.
This is the default ProFTPd configuration and more information can be found in ProFTPd release notes:
- http://proftpd.org/docs/RELEASE_NOTES-1.3.5a (1.3.5 section)
- http://proftpd.org/docs/modules/mod_rlimit.html#RLimitChroot
Resolution
Use another directory name and/or use another folder path to upload files via FTP.
Comments
2 comments
I can understand that you prevend users from changing anything in /etc or /lib. But this should be the absolute and not the relative path.
For example I could not create the relative folder /lib in the home directory of my ftp user, which would be absolute path /httpdocs/username/lib.
Hopefully you can fix this issue?
@Hans
Hello!
On the test server I have successfully created the directory using the following command, being logged in as FTP user:
mkdir -p ./httpdocs/username/lib
Please sign in to leave a comment.