I have several folders:
/home/user1/ -u user1 -G user1
/home/user2/ -u user2 -G user2
/home/user3/ -u user3 -G user3
I created three users user1, user2, user3. Each user has their own group. Any user can see other account folder for a while but cannot open it.
After user2 logged in using ssh they shouldn't see any folders downto its folder /home/user2/
.
They should see only folders in /home/user2/
.
How to set these permissions?