When a partition mounted to a shared by Samba folder is dismounted, 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.

Is it possible to configure Samba to hide corresponding shares, once the attached drive is dismounted or switched off? If not, is there any reason or logic, why such basic functionality is not offered?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to