I need to give a permission to users to access only a specified folder and restrict access other all folder.
Need to create like FTP.
So I had created 3 users and one group (tensult), all 3 users are assigned to this group and changed the group ownership of the folder called /drive
drwxrwx--- 2 root tensult 6 Aug 14 11:19 /drive/
If users accessed by SSH or FTP, other folders can also have the access to these 3 users.
Or is there any option to set permission to groups
Please help out to solve this