As we all know by default cPanel does not allow us to change the FTP user path for your main and sub-accounts after account creation. Today we will learn how to change it then after.
You can easily change it through FTP configuration files. Every cPanel user has a separate file at this path /etc/proftpd (also if you use pure-ftp).
To check user FTP path run this command :
You can easily change it through FTP configuration files. Every cPanel user has a separate file at this path /etc/proftpd (also if you use pure-ftp).
To check user FTP path run this command :
It will give you this result :
/etc/proftpd contains a file for each of the cPanel accounts on the server. We can edit the file for the domain, and change the home directory.
After editing save the file and then restart pure-ftpd service.