0

How do I make it like in linux (ubuntu 16.04) that I can create an user and it only has access to the one folder I set it to.

So as example I can have the folder '/home/nicefolder' and I can get the user 'lol123' to only have access to that (and also make it like it does not have read perms in other folders and stuff).

Yecy
  • 1
  • 1
    What is your 'destination' environment? – DDS May 19 '18 at 10:45
  • To enable normal operation of the system, the user needs to be able to access (read and execute as appropriate) the base system. So I’m not entirely sure what you’re trying to accomplish. Could you perhaps expand? Specifically on what the user should *not* have access to. – Daniel B May 19 '18 at 16:32

1 Answers1

0

This is already answered in "To create an SSH user who only has permission to access specific folders".

Also see the "Give user read/write access to only one directory" question from the Unix & Linux Stack Exchange from more information.

Boye Borg
  • 89
  • 6