December 28, 20232 yr 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 December 28, 20232 yr by twistable_deer
December 28, 20232 yr 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.
December 28, 20232 yr 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:
December 28, 20232 yr 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!
January 18, 20251 yr 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.