• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

additional ftp users data path

kadoudal

Regular Pleskian
Is there any way to modify the data path for an additional ftp user ?
I need to store the data on another partition /data , not the standard /var...

thanks for your suggestions
 
Additional FTP account is an ordinary system user but with the same user ID as for main hosting sys. user. Same user ID -> same permissions on filesystem. Additional FTP account has no ssh access (shell = /bin/false). FTP access is automatically restricted with user’s home directory. (specified path inside webspace).
So, you can try to change path for corresponding system user.
 
will give a try

Thanks Igor , i'll give a try...
btw our ticket regarding the issue we have with adding new ftp users is :

[Parallels #1056677] Ticket escalated -- OFS: Per Incident Support - 38HKSMV-HSXKZ

seems to be raised to 2nd level
 
Happy New Year
Plesk support solved my PAM config issue .. so I can create additional ftp users now...
creating an account is easy but require a user home path located into the /var/www/vhosts/my_domain/ directory
so I can use /var/www/vhosts/my_domain/web_users/user_name ...however, my server is configured in such a way that /var is a small partition
I should use /data...
when creating a new ftp user, if I enter a home path like :
/data/ftp_users/user_name ( after creating the user_name directory)
I get an error " Error: Invalid path specified " : Physical path does not exist
as /data/ftp_users/user_name exists.. I guess the Home Directory path requested when creating a new ftp_user is relative to the domain directory.....
how can I modify the ftp base directory .... ?
 
It is impossible. Additional FTP accounts - is the restricted aliases for domain FTP user. As far as domain FTP user can not exit outside of domain www-root, additional account also unable to pass restriction.

However, U can try to create directory inside domain's httpdocs and associate it with external path via mount command, any like
---------------------------------------------
mount --bind /data/ftp_users/$EXTERNAL_DIR_NAME /var/www/vhosts/$DOMAIN_NAME/httpdocs/$LOCAL_DIR_NAME
---------------------------------------------
after it set home for additional ftp user as /httpdocs/$LOCAL_DIR_NAME.

Note: not checked, just thinking
 
Last edited:
additional ftp_users

Thanks

I understand why it's not possible... but as it was possible with the MySQL databases , I thought that we could also have a way to setup a default root for ProFTP to be used by each domain with permissions control...


I tried the symlink.. but forgot the mount .. will give a shot today
 
Back
Top