I've just setup a website for my friend on my Linux box and am using his usernames home folder to host the website files "jamesp". I've also got a couple of other users on the box, listed below.
I've also registered a rsa key pair and set him up SFTP access and set this up with Filezilla so he can access his area to upload files.
Trouble is, is when I connect in Filezilla I can see both the other two users home area. As you can see in the permissions snippet, the "jamesp" user doesn't have user or group access to the other folder so how can he see them?
What user can see in Filezilla
drwxr-xr-x 5 jamesp www-data 4096 Dec 15 11:02 jamesp
drwxr-xr-x 4 johnasp johnasp 4096 Nov 25 05:52 johnasp
drwxr-xr-x 4 wp-user wp-user 4096 Sep 29 08:49 wp-user
r
- for everyone on all those directories.