I'm still learning Linux (Raspbian) I'm used to dealing with windows accounts and permissions, so perhaps I am making this much harder than it needs to be.
I want to create accounts for sftp that will not be able to browse, read, and download nearly the entire file system. Creating a new account by default seems to have access to do nearly anything! I was very surprised to see Linux is set up this way by default.
Is there a simple command or set of commands I can type in, so specific users only have access to their home folders? This way I can create accounts, give them to users, and they can't see the other users home folders, or all my python scripts that act on the files they upload?
Thank you in advance. Thus far I am loving learning Linux and Python using this tiny little Raspberry Pi !