I’m trying to give access to someone to a virtual server that hosts a domain.
However, I made his home directory /home/domain/subuser. I want him to have write access only to /home/domain/subuser but not /home/domain
How can I do that?
Adding a user and setting his home dir, giving /bin/bash access seems to allow him write access to /home/domain as well.
The various websites within a given Virtual Server account do have permission to read each others files and directories.
That said, if you want to prevent casual browsing by a user, you could always setup an FTP user, and restrict that user to a particular area. There’s more details here: