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.

directory security

Featured Replies

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?

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.

  • Author

But can shares point to locations other than top level or just sub of top level?

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.

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

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

 

What is the advantage of sharing sub-directories vs making individual shares?

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.

 

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

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.