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

4 posts / 0 new
Last post
#1 Mon, 08/10/2015 - 02:51
Yourname

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!

Tue, 08/11/2015 - 09:46
Yourname

Not possible...

Tue, 08/11/2015 - 10:23
andreychek

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_...

Tue, 08/11/2015 - 18:38
Yourname

Thanks

Topic locked