User's home directory - how to hide in Windows Explorer?


(Andrew) #1

When connected to nethserver from Windows Explorer initially shared folders are visible only. After entering the login/password the user’s home directory becomes visible too. Can I hide it?


(Stefano) #2

each user should see only his own home dir…

do you see anything different?
how are you connecting? using which user?

in any case, UserA, even if can see UserB’s home, can’t open/write in it… if not, it’s a BIG bug


(Andrew) #3

I’m connecting from Windows Explorer:
\\nethserver\

Each user can see only his own home dir. No bugs here. But i don’t want this.
I have created a shared folder.
I created a user and gave him the rights to this folder.
I don’t want him to see any other folders, even his home dir.


NS6.8 DC How to disable [homes] shares?
(Stefano) #4

you need a custom fragment for smb.conf

just be aware that even if invisible, a home dir can always be used and mounted


(Artem Fedai) #5

#6

Hi,

Alk don’t want to “show” but want to “hide” the homeuser directory…

@alk, did you look at a script connection batch to run at theuser login time?
You map a U: on the /home/userdirectory like this, the user don’t need to browse the network ! :smiley:


#7

Thinking about the situation… Is the /home is alraedy share?
Remove this share.
And do a hidden share (adding $) for each homeuser directory.

You can play with the %username% variable to do the connection script.


(Andrew) #8

Where can i read about custom fragment for smb.conf?
How smb.conf is built?