WebMin/ FTP User creation Linux Ubuntu

I created a ftp user using webmin. can login to ftp site fine. but this user can go up to the root directory using WinScp. how do I restrict user accesing other directories?

ex - directory /ftp/user. is the only directory user should be able to browse through in WinSCP

FleetechSenior ProgrammerAsked:
Who is Participating?
BarthaxConnect With a Mentor Commented:
Providing the client is using WinSCP via the FTP protocol, then the alteration you seek is in the ProFTPD Server configuration: http://doxfer.webmin.com/Webmin/ProFTPDServer#Restricting_users_to_their_home

As the user is using WinSCP, it is possible they are actually connecting via the SSH protocol and in that case you should restrict via the SSH Server: http://doxfer.webmin.com/Webmin/SSHServer#Restricting_access_to_the_SSH_se
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.