Open AutoMates-Joep opened 7 months ago
Is it possible to hide the users home-folder? I can see all my shares but also my home-folder which doesn;t exist. I would like to hide or remove that home share if possible.
I'm sure there is a better way of doing this but this is what I do to hide home folder in my setup.
Edit sudo nano /etc/samba/smb.conf
Add the available = no
as shown below under homes section.
[homes] comment = Home Directories available = no browseable = no
Finally, sudo systemctl restart smbd
I'm having this same issue, I have a smb share that is the same name as a user. When trying to mount it (From MacOS) it was mounting the home directory. I tried disabling the home directory according to @circle-dev suggestion but now the share just gives a generic error ("There was a problem connecting to the server <>. Check the server name or IP address...").
I don't have this issue for another user, same share name as user name, but that user has never logged in via SSH... Not sure if that makes a difference but I'm guessing it's related.
Is it possible to hide the users home-folder? I can see all my shares but also my home-folder which doesn;t exist. I would like to hide or remove that home share if possible.