I need to give access to my server to a new user. This user will access one directory used for web server, in order to modify some files there. Now, I have created the user on the server, but when I try to log in with his username, I notice that I can see and download not only this users directory (which is a folder on the web-part of the files), but all files on all the other folders too.
Don't know if this is a permission issue on the oter files (wich the user should not have access to), or on this particular user. When creating the user, I made his homedirectory to be /var/www/xxxxx where xxxxx is the actual folder he should have access to.
To be a little clearer about the other folders he can see, they are located at /var/www/yyyy All files in yyyy is visible for him and should be hidden. Any thoughts on this?