• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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