February 9, 20251 yr Hi! Started from unraid 7, created user shares with a non root user that has read/write on the smb share. From my mac i connect to the share and when i use "get info" my user is stated to have both read/write access. Whenever i try to add or edit anything on the share i still get a permission error. Any ideas? Hard to move forward since i really cant find anything that seems wrong but i still dont get write right on my shares. Edited February 9, 20251 yr by sux
February 9, 20251 yr Community Expert What is the share name? Also, post the output from: ls -l /mnt/user
February 9, 20251 yr Author 5 minutes ago, JorgeB said: What is the share name? Also, post the output from: ls -l /mnt/user When i do i have drwxrwxrwx 1 nobody users 10 Jan 30 18:10 data/ on the share i am working on, does that help?
February 9, 20251 yr Community Expert The actual name of the share would be a big help. BUT the first and last letter of the share name would be enough in your case.
February 9, 20251 yr Author 2 minutes ago, trurl said: Does it work if you make it a public share? Seems to be the same, made it public and tried to delete a file. Get the response The operation can’t be completed because you don’t have permission to access some of the items.
February 9, 20251 yr Author 1 minute ago, Frank1940 said: The actual name of the share would be a big help. BUT the first and last letter of the share name would be enough in your case. The shares named data
February 9, 20251 yr Community Expert Using the ls -al /mnt/user/data command, drive down the directory to a file which has the problem. (Use the up-down arrow keys to take advantage of the Shell command editor in Unraid...) Copy that line into your next forum message and format using the 'Code' function for forum posts. See below:
February 9, 20251 yr Author 3 minutes ago, Frank1940 said: Using the ls -al /mnt/user/data command, drive down the directory to a file which has the problem. (Use the up-down arrow keys to take advantage of the Shell command editor in Unraid...) Copy that line into your next forum message and format using the 'Code' function for forum posts. See below: Sorry, one week away from windows. I lost you after the command i could paste 😵💫
February 9, 20251 yr Author -rw-r--r-- 1 nobody users 8493 Feb 3 08:41 000-alan_walker-walkerworld_2.0.nfo Did i get this right? This is a file i tried to delete but couldnt.
February 9, 20251 yr Community Expert The permissions must be -rw-rw-rw for data files for things to work right. (Most SMB access to Secure and Private shares is provided through the group permissions!) To fix, run the New Permissions tool in the TOOLS tab. (Read the last line of the instructions VERY Carefully!!!) * However, that does not fix the problem of how the permissions got set that way in the first place. It is usually by a Docker Container (Or a VM) that writes directly to the array without using SMB. How did that .nfo file get created? That is the first question that you have to find the answer to. * You can ignore the first paragraph of the instructions. That is out of date for 99.99% of Unrraid users today. Edited February 9, 20251 yr by Frank1940 Left a attachment in after editing post
February 9, 20251 yr Author 2 minutes ago, Frank1940 said: The permissions must be -rw-rw-rw for data files for things to work right. (Most SMB access to Secure and Private shares is provided through the group permissions!) To fix, run the New Permissions tool in the TOOLS tab. (Read the last line of the instructions VERY Carefully!!!) * However, that does not fix the problem of how the permissions got set that way in the first place. It is usually by a Docker Container (Or a VM) that writes directly to the array without using SMB. How did that .nfo file get created? That is the first question that you have to find the answer to. * You can ignore the first paragraph of the instructions. That is out of date for 99.99% of Unrraid users today. I think i found the source of the error at least. Noticed i could create a new folder on the share but not edit the existing ones (mostly created by sabnzbd) Found this thread Tried changing the setting mentioned in sabnzbd to 777 and then i could delete the file downloaded. Not sure if this is a symtom of something i should adress but might atleast be a quick fix for now.
February 9, 20251 yr Community Expert 11 minutes ago, sux said: Tried changing the setting mentioned in sabnzbd to 777 and then i could delete the file downloaded. That will work. That is basically what generally has to be done to fix this problem. Every Container has to be set up properly for use with Unraid unique SMB permission requirements. Generally, those containers which were added to the APP store by a dedicated Unraid user will already have set things up to work properly and will have a support thread on the Unraid Forum. Edited February 9, 20251 yr by Frank1940
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.