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.

Understanding unraid security better - setting up access from Linux PC [SOLVED]

Featured Replies

Unraid version 6.12.6

Hi all,

I'm in the process of migrating from a windows pc to a linux pc (linux mint). I'll be the first to admit that adopting good security habits on unraid has never been a strength of mine. I'm trying to replicate a bunch of different aspects of my workflow on my windows pc over to my new linux pc.

 

Getting access to the unraid webgui was very easy - I have the same credentials set up on both pc's so - no problem there.

 

However whe I connect to the unraid server using the linux equivalent of windows explorer there are some notable differences. From my windows pc I can access (read/write/update) pretty much anything (any folder, sub-folder or file), and no logon is required. From my linux pc there are some share folders I can definitely enter and read without any issues, but there are some shares I can't even open, and the failure message says it's a permission issue. I have NO memory of setting that up - deliberately or accidentally).

 

Currently, from the windows pc, I don't need any credentials at all. I just open windows explorer, and when 'SERVER' appears in the network area of windows explorer I can access any of the share folders from there. Alternatively, from my linux pc I can use Nemo (linux equivalent of windows explorer) to connect to the network, and I'll see 2 entries - Server (File Sharing) and Server (Remote Login). Currently, I'm selecting 'Server (File Sharing)'. From there I do get a page that allows me to put in credentials if required, but after that I can see the list of share folders. For some reason I can open the media folder and every sub-folder and files without issue, but if I try to get into the Backups share I'm getting the permissions error showing.

FWIW I also have a number of media streaming devices that connect from within our home that currently have full read access to the media share - I don't want to mess that up while changing security settings.

 

Is there a document or wiki page, or pages you can refer me to so I can learn to get correct access set up on my linux pc? Also, it would be good to set access up for my wife to access anything, and to set up read-only access for my sons. Any help - even pointing me to some online document/wiki or post so I can learn how to set up file access properly would be appreciated!

 

Many thanks!

 

 

Edited by Roscoe62
clearer

Solved by Frank1940

On the share, set the SMB security to Private and you can set visibility for everyone

image.png

  • Author

Sorry, I see how to do that - and I can now access the Backups share, but now I'm getting the permissions error appearing when I try to access a sub-folder in Backups.

Because that's a sub-folder of a share, and not a share, there must be some different mechanism that controls access to that?

 

FWIW - I seem to be able to access other sub-folders within the Backups share...

Unraid financials.png

  • Community Expert
  • Solution

Start with this post and read the next two after it. 

 

        https://forums.unraid.net/topic/77442-cannot-connect-to-unraid-shares-from-windows-10/page/10/#findComment-1494016

 

Now, you are using Linux.  How are using networking to the Unraid server---  NFS or  SMB/Samba?

 

If you are using SMB/Samba, you should probably read this post:

 

     https://forums.unraid.net/topic/110580-security-is-not-a-dirty-word-unraid-windows-1011-smb-setup/#findComment-1009109

 

You might want to download the PDF file as it has a lot of general information in it about how SMB things work in Unraid.  

 

I have a fair amount of knowledge about what goes on with Windows/Unraid SMB but no real experience with Linux/Unraid SMB.  I don't think there are any major problems as I have not seen a lot of posts about issues.  (But I suspect the Linux SMB world is much more lenient about enforced security than Microsoft is in the Windows world.  (What I mean by that is that Linux expects the individual system administrator to set things up so they are sufficiently secure secure for his environment where Microsoft is taking the lead and making SMB as secure as possible wherever it is installed.  (They are using one scheme fits all whether is a home network having a server and one client PC or the Pentagon with a few thousand servers and, perhaps, a hundred-thousand clients transferring top secret information via SMB!)

 

EDIT:       You should be able to run the   New Permissions  tool and it may address your problem.  You could tell this by using the

ls -al /mnt/user/{path-to-problem}  

command to check the owner, group and permissions of the directory and the files inside of that directory

Edited by Frank1940

  • Author

Many thanks Frank! I ran the New Permissions tool on the problem share, and it works. I entered the correct credentials, and I can now access everything on the UNRAID server from my linux PC.

 

Thanks again!

  • Roscoe62 changed the title to Understanding unraid security better - setting up access from Linux PC [SOLVED]

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.