[Samba] Hide empty Samba shares?

Stan Hoeppner stan at hardwarefreak.com
Tue Sep 4 19:11:55 MDT 2012


On 9/1/2012 2:52 PM, Sam Bulka wrote:
> When a partition mounted to a shared by Samba folder is dismounted,

Mount/unmount is performed on filesystems, not partitions.

> Samba keeps sharing that empty folder. It creates a security hazard,
> since files can still be saved to that empty folder, and overwritten
> next time (lost) when the original partition is auto mounted again to
> the same folder. Its also confusing for most users to browse empty
> shares - no normal person would understand why they are still there.

No "normal person" would dismount a filesystem from underneath a Samba
share.

> is there any
> reason or logic, why such basic functionality is not offered?

Samba is not MS Windows.  Just because a feature exists in MS Windows
does not make it "basic" translated "expected" in other platforms.  If
you were a long time Samba/*nix user and switched to MS Windows you'd
have the same complaint in reverse (though there are few such defections).

-- 
Stan



More information about the samba mailing list