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.

Unraid (windows?) locking me out of specific folders on the share at random. ($20 bounty for anyone that can provide a solution)

Featured Replies

I was attempting to transfer some game backups from an external drive to my unraid server, the transfer partially started (got to several percent of the way done) and then stopped abruptly giving an error akin to "you'll need permissions to do that". Some of my files transferred. After this I am now completely locked out of that folder on the share. 

This has been continuous headache after headache ever since upgrading to windows 11. Piece of shit OS.

I have completed two troubleshooting steps- I've restarted my PC and I've restarted the server.
I recently added a new disk to the array with no issues, and I've recently had to reconfigure credentials manager on windows to see a dummy username on my unraid server so that it stops blocking me from connecting. I've also recently updated the unraid server to 7.0.1, and my windows install is as fresh as it gets.

I originally started with my samba shares set to export as public, and simply added dummy user credentials to satisfy windows, but now I have tested exporting the share as secure and requiring the username under my windows credentials to sign in when accessing, to no avail.

Tested accessing this specific folder on one other device which is able to connect using blank credentials, and it is able to access the folder. 
Tested accessing this specific folder on one other device which is using the same dummy credentials to enable access to the share, and it is unable to access the folder.

All devices are able to see the share as a whole, devices using Credential 1 are now locked out of the specific folder, and the device using no credentials is able to access the specific folder just fine.


image.png.950f89b4db457ed402e997c73fe09c35.png

Any advice would be greatly appreciated.

image.png

 

Thanks.

monolith-diagnostics-20250227-0851.zip

Edited by Connor Zook

Solved by MonadProxy

  • Author

@MonadProxyI recently edited this to reflect some further info. Just wanted to catch you in case you were reading the outdated revision of this post.

 

Hi, are you sure you wanted to quote me and not a moderator?

  • Author
3 hours ago, MonadProxy said:

Hi, are you sure you wanted to quote me and not a moderator?

Good point, how do I do that?

  • Author
20 minutes ago, trurl said:

@trurl

This article is exactly why I set up dummy credentials on my server for use with windows credentials manager. This was originally a good solution, until random folders on the share started locking out that user. This is my big issue. 

Edited by Connor Zook

  • Community Expert
17 minutes ago, Connor Zook said:

random folders on the share

How are these being created? Which share?

 

What do you get from command line with this?

ls -lah /mnt/user

 

  • Author
10 minutes ago, trurl said:

How are these being created? Which share?

These folders have existed in the share since its inception. They're just subfolders of /Media/ which is my main storage share. In this case it's /Media/Games, which was working until I tried to copy files to it and then stopped allowing access halfway through a normal file copy operation. 

 

10 minutes ago, trurl said:

 

What do you get from command line with this?

ls -lah /mnt/user

 

Screenshot_20250227_143733_Chrome.thumb.jpg.9d31006d51e6286bd4bc818117359d0a.jpg

Forgive my horrible syntax, terminal does not get along with android and I'm a noob(ish).

Edited by Connor Zook

  • Community Expert

What do you get from command line with this?

ls -lah /mnt/user/Media

 

  • Author

@trurl
image.thumb.png.920dc89ba25954c009e80cb50eb7202b.png
redacted two files that are not relevant

  • Community Expert

That all looks OK.

 

What do you get from command line with this?

ls -lah /mnt/user/Media/Games

 

  • Author

@trurl
image.png.092f7d47821593dbb8544ebd7e45c7e9.png

 

Could the dark souls (legally owned) file be corrupting user access? That user is not the same user that has been locked out of the games folder.

  • Community Expert

I think that should be OK but you can browse to that folder from User Shares page and set the owner of that file to nobody.

  • Author

@trurl
I have attempted to access the Games folder from both computers which are using my dummy access credentials. I was temporarily (for unknown reasons, I have done nothing new) able to read files, and create files now, but unable to delete files. I was being thrown an error of needing permission from my dummy credentials user (the same user that I have logged into the SMB share with) to delete a file, and once it threw that error I am now locked out of the folder again.

This behavior is extremely strange and has me worried that user permissions are being corrupt somehow on unraid's end.


 

  • Author

image.png.6e7621856d4ee964c1e4b080339a754e.png

^The error I received when attempting to test functions by deleting a file I had JUST made a copy of.

image.png.732a659b94840c50fa73db37667c4795.png

^The error I'm now getting when attempting to access the folder again. 
Monolith/homenet is the user credentials I've got set up on my windows access credentials for the SMB share.

Additionally, homenet is a new set of user credentials, only set up last night. Zooker is an older set.


I was mistaken, homenet is the name of my workgroup (of which unraid is the local master) as WELL AS the credentials that I log in with. Could this be causing issues?
image.thumb.png.b283cdf3819bd9a64781e1c2c322090d.png

Edited by Connor Zook

  • Author

I have now deleted the user credentials I was attempting to access my SMB shares with, "homenet", and attempted to access the same folder that is causing issues with alternate user credentials. I am still locked out.
I then created a new user on unraid and checked permissions to ensure I have read and write access to the entire share, then attempted to access the same folder on the SMB share using the new credentials. I'm still locked out.

Is my unraid install corrupt?

  • Connor Zook changed the title to Unraid (windows?) locking me out of specific folders on the share at random. ($20 bounty for anyone that can provide a solution)
  • Community Expert
7 hours ago, Connor Zook said:

I recently added a new disk to the array with no issues, and I've recently had to reconfigure credentials manager on windows to see a dummy username on my unraid server so that it stops blocking me from connecting. I've also recently updated the unraid server to 7.0.1, and my windows install is as fresh as it gets.

Try this from the Release Notes for ver 7.0.0:

 

image.png.80e64a36ad6650b2cf90d189857edc3e.png

After you have set up the Shares Access user on your Unraid server and add the credential using Credential Manager to the Windows client, reboot the client. 

Edited by Frank1940

  • Author

@Frank1940

I have attempted this specific solution several times, including multiple times with power cycles in between. 

 

I am considering reenabling guest access with blank credentials in the registry even though it is recommended against by msft and lime tech. All of this shit just worked before windows decided my home network was too dangerous for me to have control over in the way I want. 

  • Community Expert
1 hour ago, Connor Zook said:

I have attempted to access the Games folder from both computers which are using my dummy access credentials.

What is this all about?  You should have a Shares Access user on Unraid-- say   conner   ---with a password.  Then using Credential Manager in Windows, create a Windows Credential with a server name of    MONOLITH   and a user name of   conner  and the password that you created in Unraid.  That should be the only entry for MONOLITH. 

 

Under  SETTINGS   >>   SMB, make sure you have it setup this way:

image.thumb.png.23a8feec5a9fcfd7b0496abd729d4d2a.png

 

The Local Master and the old Microsoft 'Homenet' is basically gone.  What has taken its place is a peer-to-peer arrangement.  (In the big boy world, 'Active Directory' is the default and that takes a professional to get running most of the time!)  SMBv1 is now gone from any new Unraid install BUT it was 'grandfathered' in if the server was using it prior to SMBv1 being removed. 

 

If you want a complete rundown of how (and why) to set up Windows 10/11 with Unraid in a peer-to-peer configuration, read this post and its PDF files:

 

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

 

It attempts to explain what is happening (and why) with SMB/Unraid interaction.  (I have seven Windows client computers and two Unraid servers on my home network.  I have only two Unraid Shares Access users on both servers for these seven clients. I would only need one but I have some shares that I always want to be read-only but I do need occasional read-write access to those shares so I have one client set up to use that second user login.  When I need read-write access, I turn on read-write access to that share(s) for just that user.)

 

One more thing.  From my forensic analysis of permissions on the Unraid Linux level file system, I can tell you that many times system level access to directory and files is provided through the group permissions ('users') rather than the owner permissions!  Every Unraid Shares Access user is automatically made a member of the 'users' group!  Look at the screenshot below:

image.png.7abe4151bb073c3091a8a043aa2dd8d7.png

 

I can assure that 'user', 'smbuser' and 'nobody' can have full access to any of the files if the Permissions on the Unraid Share are set correctly.  See below:

image.png.e5a14c589cca07bbc29d88601e748ae0.png

(Since this share is set to 'Private', there is no 'Guest' access to the share!)   

 

 

Edited by Frank1940

  • Solution

I had the same issue recently, running the new permissions tool on that share solved it for me, the only instances where it reverted to root is if I tried to reinstall the container that created the share for instance.

 

In the same vein as you I also created a user that's not root in order to access the shares from windows.

 

 

2025-02-28_02-21.png

  • 2 months later...

Thanks for the offer, I appreciate but I'm good you can donate them instead to a charity or whichever project you feel like.

 

Glad you solved your issue.

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.