Change of document root of FTP Server
Hello,
in proftpd i have the possbility to change the document root dir
to /public_html
But then i have ftp login problems with the additional accounts.
Is there a solution for this or alternative with pure-ftp ?
thank you
-
Are you speaking of an addon FTP account? These docs might be useful: Add an FTP Account - cPanel Documentation Each FTP account needs to login with the full username. you @ yourdomain.com for example. Are you wanting to setup multiple Addon FTP accounts and have them share the same directory? 0 -
No, in cPanel you can create additional ftp-accounts: cPanel->ftp-accounts Because some clients confusing the upload folder, i set the document root to pubic html: in /etc/proftpd.conf: from DefaultRoot ~ !wheel to DefaultRoot ~/public_html This works, but then the additional created ftp accounts, dont work. (in other control panels, no problem!) So think this is a bug in cPanel or there are other solutions? Is its possible to realize with pureftpd? 0 -
The main cPanel user has no need to create an FTP account, he already has one by default. He logs in with his cPanel username as the login, not the full name like an Addon FTP account. Addon FTP accounts should be given their own directory. 0 -
additional ftp is useful, if you want to grant only to ftp folder, but not to cpanel (Email-Account etc.) And also a additional ftp account that is set to subfolder, dont work... (if in the configuration file in proftp is set to /public_html) otherwise it works. 0 -
Right. There really should be no need to edit that config file for normal user operation, IMO. 0 -
When you create an additional FTP user in cPanel & WHM, the home directory, or document root, of that user is set at the time you create that user. Changing the service configuration (/etc/proftpd.conf in your case) to have a different document root is inadvisable at this time. When changing the service configuration, you'll also need to update the configuration for every single FTP account to behave properly. 0
Please sign in to leave a comment.
Comments
6 comments