June 29, 201313 yr I've read quite a bit about unraid's sharing and share security, and it's a bit to get my head around it. It would be great for unraid just to have a arbitrary share location/permissions panel that would solve the coarseness of it's management. Is there a way to share sub directories in a specific point of the array and assign specific permissions to that share? I don't want all users to be able to read all directories, but do want them to only be able to write to specific locations. I understand that i could just map to a specific folder through the large share on the client, but I don't want security through obscurity. Any tips or workarounds or even an addon?
June 29, 201313 yr Each share has per user security settings if secure or private is selected. Configure the share as private and then select which users have read-only and which have read-write permission.
June 29, 201313 yr Author But can shares point to locations other than top level or just sub of top level?
June 30, 201313 yr But can shares point to locations other than top level or just sub of top level? No - shares can only point to top level folders.
June 30, 201313 yr But can shares point to locations other than top level or just sub of top level? No - shares can only point to top level folders. However, you can add lines to config/smb-extra.conf to point anywhere you like, even lower level folders with whatever security you like.
July 1, 201313 yr Author That's what I was looking for...the shares should only be a one time setup headache...Is the smb-extra.conf the same as the smb.conf that is normally part of samba? There are a few smb.conf managers out there that I was going to try out. This functionality wouldn't be tough to add the code to (possibly) the browsing function or even another smb specific tab. Perhaps this should be suggested as a feature request?
July 1, 201313 yr The contents of smb-extra.conf are automatically merged with those unRAID manages in smb.conf /boot/config/smb-extra.conf may not exist on your server. If not, you can simply create it. All the features of smb.conf are available. Simplest might be something like this: [myshares] path = /mnt/user/Movies/Kids-movies read only = yes
July 1, 201313 yr What is the advantage of sharing sub-directories vs making individual shares? Organization Having ALL movies in a "Movies" share does seem like a nice organization ... so subfolders that segregate "Kids Movies" from others seems like a good organizing scheme. Clearly not "necessary" ... but I can certainly see the logical advantages of having this ability.
July 1, 201313 yr Author Works excellently...massive manual page for samba config is http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html...works great here are the fields i typically used...(i haven't used the "home", groups or variables yet... [PUBLIC_READ] path = "/mnt/disk1/main/PUBLIC READ" browsable = yes guest ok = yes write list = user1 valid users = user1, user2, guest, nobody read list = user2, guest, nobody [PUBLIC_WRITE] path = "/mnt/disk1/main/PUBLIC WRITE" browsable = yes guest ok = yes valid users = user1, user2, guest, nobody write list = user1, user2, guest, nobody
Archived
This topic is now archived and is closed to further replies.