Changing an FTP User’s Path
- Written by Vanessa Vasile
- Published in FTP, Howto, Linux
- 4 Comments
By default, your main FTP (cPanel) user will have and FTP path to the user’s home folder, and each FTP user you create after that will have a path that you specify with you create the account in cPanel > FTP accounts.
Unfortunately, cPanel’s interface does not currently let you change the FTP paths for your main account or sub-accounts, but you can easily change these in the FTP user configuration files. Each cPanel user has a file in /etc/proftpd (yes, even if you use pure-ftp), which contains the information about the FTP users for that account. A sample FTP user file for the cPanel ‘user1’ may look like this:
If you want to change the FTP root for any of the users, simply make the change in this file and restart your FTP service.
Thank you very much!
What if I want to share a ftp folder with other users?
User1 and User2 = rwx
User3 = r-x