A sub-user who can write to only a sub-directory

Hi there!

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.

Please help
Thanks!

Not possible…

Howdy,

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:

https://www.virtualmin.com/documentation/security/faq#How_can_I_prevent_FTP_Users_from_Browsing_the_Entire_Filesystem

Thanks