Limit a users access in vsftp to the home directory

I have the following setup:

(1) raspberry pi 3 with Raspbian and vsftp.

The goal is to be able to connect to the ftp raspberry with clients such as WinSCP or Filezilla.

It is possible right now but the user is allowed to see other directories and download from everything. Only upload is limited to his home directory.

This is what I tried so far:

  • creating a dedicated ftp user with

    adduser ftpuser --home /home/ftpuser/

  • editing the config of vsftp in /etc/vsftp.conf see here (justpaste.it)

So how do I go about this from here?

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like