September 22, 20223 yr Sorry another newbie question that google failed me. I have a /date share with my media and such. I have this share smbed to my user account. Now let's say I want to give another user access to just /data/media/homemovies only and not the root share /data. How does one share a folder inside a share. This is easy in Linux or windows. But for the life of me I can't wrap my head around the proper way to do this. I am sure its obvious, but I see away that I can totally mess up my structure by creating a new share under /data/media/homemovies Thank you in advance as always. CD
September 22, 20223 yr I know what you're trying to do but I don't know if you *CAN* do it without manually editing the smb-shares.conf. One workaround would be to just change the user permissions on the parent directory so that user A has access, but user B doesn't, then give both users access to the /homemovies subdirectory. I usually do this with adding a unix group to /etc/groups, making certain users members of different groups, and managing ownership and access using the good old User/Group/Other permissions. Unraid doesn't preserve groups, which is a bummer, but I use the Community Applications CA user scripts plugin and have it run a custom script that I create (the button at the bottom there explains this really well). *THIS ONLY NEEDS TO BE RUN ONCE at Array Startup*. Perhaps Unraid isn't '"Built" for this but it's an incredibly basic function/feature of any Samba server, one which I've used since 1996. And now I feel old, thank you. =-D BTW, the official response will probably be to just split that out into two different shares with different user access. That doesn't work for most of what I want to do (I already have too many), but it's easy to do. Edited September 22, 20223 yr by Kamikazejs
September 22, 20223 yr Author Thank you very much. I was hoping that was not the case. I think the custom samba config can work .. I just found this on Spaceinvaders ones youtube. I will test this. Unraid Shares in Depth Pt1 The 26 minute mark. I think this will work.?.? CD
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.