[Samba] By design/possible bug? Folders unmarked from sharing are still accessible

Germ van Ek | Esyst germ at esyst.nl
Mon May 11 00:54:26 MDT 2015


Hello Caesar, 

This is a Linux Mint bug, not a Samba bug. They provided the GUI frontend / Cinnamon file manager, and should have done the reload after they changed Samba share settings. 

Met vriendelijke groeten, 
Germ van Ek 
Esyst BV 

----- Oorspronkelijk bericht -----

> Van: "Caesar Samsi" <cmsamsi at gmail.com>
> Aan: samba at lists.samba.org
> Verzonden: Zaterdag 9 mei 2015 22:39:56
> Onderwerp: [Samba] By design/possible bug? Folders unmarked from sharing are
> still accessible

> I'm on LinuxMint 17 Cinnamon desktop, Samba 4.2.1, and Windows 7

> I can share folders fine, but when I unshare a folder, it remains visible
> and accessible to users. It should disappear and become inaccessible when
> unshared.

> Repro steps - sharing the folder:

> 1. Open up the Cinnamon file manager, navigate to Home folder.

> 2. Right click on Downloads, choose Sharing Options

> 3. Set the Share this Folder checkbox

> 4. Click Modify Share (if an error occurs here, usershares need to be
> set higher than 0 in smb.conf)

> 5. The folder can now be browsed from a Windows 7 PC

> Repro steps - unsharing the folder:

> 1. Open up the Cinnamon file manager, navigate to Home folder.

> 2. Right click on Downloads, choose Sharing Options

> 3. Clear the Share this Folder checkbox

> 4. Click Modify Share

> 5. Go back to Windows 7 File Explorer

> 6. The folder is still accessible, browse-able, and writeable.

> The workaround is to do: sudo service smbd restart

> Impact: in the scenario where users need flexibility to create their own
> shares this creates a bottleneck in the system admin having to recycle smbd
> which then has further impact of disrupting other operations using Samba.

> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba


More information about the samba mailing list