Caesar Samsi
2015-May-09 20:39 UTC
[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.
Germ van Ek | Esyst
2015-May-11 06:54 UTC
[Samba] By design/possible bug? Folders unmarked from sharing are still accessible
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
Possibly Parallel Threads
- post make install, sudo service samba start ->service not recognized?
- 4.2.1 ./configure --sbindir & --bindir settings is different from binary?
- 4.2.1 ./configure --sbindir & --bindir settings is different from binary?
- Virtualbox 3D accel broken in xf86-video-nouveau 1.0.3
- RFC2307 attributes not being read by DC2 in 4.2.1