Chrrs Posted February 17, 2017 Share Posted February 17, 2017 Whenever I manually create a folder on my cache drive, an SMB share is automatically created and made public. Is there a way to prevent this? Sometimes I will move or download things to my cache drive so that I share them with the rest of my home network. I don't want them to be moved to my data drives. This can create lots of noise when I browse \\tower. Quote Link to comment
John_M Posted February 17, 2017 Share Posted February 17, 2017 Any folder in the root of any disk, including cache, is by definition a user share. You can't change that but you can choose whether it's exported. Go to Shares -> Share_name -> SMB Security Settings and set Export to "No". Quote Link to comment
RobJ Posted February 17, 2017 Share Posted February 17, 2017 It may be more convenient to create a folder on the Cache drive, name it 'temp' or 'download' or whatever, mark it Cache: Only and no export if desired, then always create your temp folders within it, not in the root of the Cache drive. Quote Link to comment
lionelhutz Posted February 17, 2017 Share Posted February 17, 2017 If user shares are turned on then the best practice is to never use the root of any disk for file or temporary directory storage. So, as suggested make a cache only user share for any temporary transfer use. Quote Link to comment
SSD Posted February 17, 2017 Share Posted February 17, 2017 In the interest of completeness, there is indeed a way to exclude one or more disks from participating in any user shares. It/they can be globally excluded. At that point you would access that disk by its disk share name, (regardless of its root level folder names) OR ... There is a way to assign your own Samba shares to paths arbitrarily deep on disk OR user shares. I used to use this alot to manage my various content types, and ignore user shares, but am gradually embracing the simplicity of user shares, which despite grating against some desires to micro manage content, are actually a God-send. I still create some Samba shares, for example "mp3" is a Samba share to /mnt/user/Music/mp3, and used to be handy for feeding to iTunes. (I also have my music is lossless format in other Music sub directories). But you could create a Samba share called Music and then share that as /mnt/disk7, and then the root of disk7 would be your music folder, and every subdirectory would become a user share (unless you globally exclude disk7). Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.