This question already has an answer here:
I would like to create a user that only has access to one folder and nothing else whatsoever.
I have already created a user but he has access to other parts of the system according to corresponding file settings. I don't want him to have that, I want him only to have access to one folder and nothing else. Everything else should preferably be just invisible to him.
Is it possible to create such a user,and if so, how do I go about doing that?
p.s. Removing 'other' privileges of other users home directory goes a bit of the way towards this end. But this limited user still has access to all the base directories like /etc and such. And he can still see other users home directory, even though he cant access them.