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.

[Solved] Simple Share Question...

Featured Replies

Is it possible to create a share within a share?  I'm assuming not, so followup question...

 

I have a share, movies.  Within this share are home, adult (Rated R), animated, etc.  I want to give my kids access to some of those directories but not all of them.  Any easy way I can accomplish this?  TIA

Is it possible to create a share within a share?  I'm assuming not, so followup question...

 

I have a share, movies.  Within this share are home, adult, animated, etc.  I want to give my kids access to some of those directories but not all of them.  Any easy way I can accomplish this?  TIA

 

Not built into the default unRAID webGUI.  There is a file you can create smb-extra.conf in the config folder of the flash drive and from there you can specify any share that you like.  Do some searching on these forums on how exactly to do that.

You could just make multiple shares. I.e., one for kids and one for other stuff.

  • Author

So I'm going to create a smb-extra.conf file with the following included:

 

[Animated Movies]

path = /mnt/usr/movies/animated

read only = Yes

 

If I understand this correctly, this should give me a new read only share called "Animated Movies" that will point to my animated movies.  What I am trying to still figure out is: I only want this to be in affect for my kids.  My thought was to exclude the kids users from all the shares I created within the web setup and only give them access to these new samba-extra shares I am creating.  Sound like a good game plan?  If so, what is the command to limit the above share to just specific users?

I believe you can use the 'valid/invalid users' option to do that, but I'm not sure of the exact syntax.  This may not be ideal, since your kids would be able to see a folder called 'adult' but will get an access denied error if they try to open it.  If you don't want them to be able to see the adult shares at all, then I believe you will have to export them as 'hidden'.  You can still map hidden shares to your computer/HTPC by typing in the path manually.

 

You could create a dummy share through the unRAID web GUI with exactly the config options you want, then look at the resulting file on the flash drive.  The syntax for your custom shares should be the same as what you see in that file.

 

Another thought - if your kids have their own dedicated computer or HTPC, then you could just map the shares you want them to have access to (animated, kids movies, etc.) to that computer/HTPC and not map the rest.  Even if they are clever enough to browse the network and try to add the new shares themselves, then the valid/invalid users option I mentioned above will still prevent them from gaining access.

  • Author

Thanks for the replies.  Unless someone tells me otherwise, I was going to setup a share like you mention and see how it exports it and crib off that.  For the record, I don't care if they see all the shares, I just don't want them to be able to access all of them.  Yes they each have there own laptops, but they are young (7 and 9).  BTW - the "adult" directory is for rated R movies not xxx movies.  If it was the later, it would be locked down differently for sure. :)

  • Author

This is what I used:

 

[Animated Movies]
path = /mnt/user/movies/animated
read only = Yes
valid users = usr1, usr2
browseable = no

 

This gives me a hidden read only link to my animated movies that resides in the movies share.  Then I made those users invalid for all other shares so they can not access them.  They can still see them, but that is ok in my case.  I also made the new shares hidden, otherwise the valid users would see these new shares as well and IMO would clutter up the rest of my share layout.  Thanks again for the help and suggestions.

 

BTW - I was able to create a shortcut on their windows 7 dekstops that points to the hidden shares.  Therefore, no mapping had to be done nor links to the 'network area'.  Just a FYI, never new that featured existed.  My luck it probably existed sine Win3.11. :)

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.