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.

Docker File Permissions

Featured Replies

Hello everyone!

 

Since my unraid system was deleted, I am in the process of rebuilding everything. I am running into an issue where files and folders created by docker containers are not accessible by my SMB user. An example is I have my Deluge docker container and files that are downloaded and moved to one of my user shares are not accessible by my user in unraid.

 

I am pretty decent in Linux and from the folder permissions, it seems that my user should have access but when I try to open (or do anything to the file) in Windows 10, I get "X Is unavailable, make sure the device or drive is successfully connected etc..." so it seems that my user doesn't have permission to access the file.

 

I've ran the DockerSafePermissions a few times hoping it would fix it but that didn't help. I've confirmed that the file/folders have 777 permissions and I've tried changing the user from nobody to my internal user but that also didn't work. I can create a new folder/file in the same folder that the docker files are in and running ls -alh, the folder permissions and owners match but still, I can't open to edit the files created by the docker container.

 

I've also tried changing the ownership of a folder I created from my internal user to nobody and I was able to access the folder so it seems to be something with my docker containers preventing me from accessing/editing the files they create no matter what permissions I set or ownership I specify.

 

Would anyone have any ideas?

 

Thanks!

Edited by twistable_deer

Solved by twistable_deer

  • Author

So it seems that when I try to save downloaded files outside of /mnt/user/appdata, that is when I have the permission issues.

 

I've tried setting the completed downloads folder (for Deluge) to it's appdata folder and the files were accessible. I don't want to keep completed downloads in the docker folder since I back that up to the cloud and I don't need to back up downloaded content so I will review my share permissions to see if i did something wrong with my shares.

  • Community Expert

I am confused by what you are trying to do.  This confusing may be totally my fault...). But never the less, please provide complete paths to files and directories from the root of (the Linux file system.   Example:     /mnt/user/BackupMedia/All\ Movies/    )

 

Next thing, if the shares were generated by Unraid rather then 'you', have you turn on the export of the share using SMB?  (the default is 'No'!)  See below:

image.thumb.png.68b6c058fe243e9910db089fcef17cbb.png

 

 

  • Author
  • Solution

I figured it out.

 

I think it's a Windows issue but in my shares under SMB Security, I had Case-sensitive names set to Force Lower. I changed it to Auto and I can now access the folders created by my dockers. Strange that setting was only affecting docker folders and not personal but just in case someone else runs into this issue, confirm that your SMB settings for case sensitive names is set to Auto and hopefully, that will fix it.

 

Thanks!

  • 1 year later...

Thanks for this @twistable_deer this has just helped me, nothing in my SABNZB would open, I could get into my complete folder, but any sub folder from there wouldnt open, exact same error, same on iphone too...... it would let me move things via the unraid GUI but then I had to move it to another directory I did have windows access too..... thanks very much!!!!!

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.