Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Samba Share Question

Featured Replies

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

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.

image.thumb.png.e641e5a9116e36502bb13acbb7c5d588.pngimage.png.3c7bbed53b71b9d7b0666b7b7aa9d645.pngimage.png.cfe53eee00e92c47ae2b21b1974f54f6.png

image.png

Edited by Kamikazejs

  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.