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.

SMB public share seem to have read-only access

Featured Replies

Hi

 

I have configured this share:

image.thumb.png.2e9dd9810b30ec745f7237bd66db21d1.png

 

 

When I try to access it from a Kubuntu VM running on Unraid I can only read. As soon as I try to create/move/delete folders/files Dolphin complains with "Access denied". I get the same result using smbclient.

I also get the same result when changing the share to secure and then connect with the same username that has read/write rights and Dolphin also never asks for credentials.

 

However as soon as I mount the share within the VM with

mount -t cifs -o credentials=/home/tom/credentials/samba.txt,uid=tom,gid=tom,_netdev //tower.home/downloads /home/tom/downloads/

I have full access.

 

What am I doing wrong?

I don't want to mount all my shares across all the different VMs.

 

 

Edited by Tom082

Solved by Tom082

  • Author

What is going on here? If I check with Dolphin I see this:

image.png.ff9673c68235d4eb638d34e84eb6acf4.png

image.png.f83bc3d6ea17d74c235085548dd147c6.png

image.png

image.png

 

How is this possible if the share is set to public?

 

Edited by Tom082

  • Community Expert

SMB perms are one thing, but then the smb user also needs to have write perms to the actual folder/files at the filesystem level. Usually those need to be owned by a user in the "users" group and have group write permissions.

Edited by Kilrah

  • Author

image.png.2cb7fa933501284fa3ee57a12694a9f0.png

All the files and folders on Unraid have these permissions. My understanding is that this should work.

  • Author
  • Solution

However, after running this:
image.png

 

Permissions look like this now:

image.png.6185ac0b9f914bfa260b5fe8be0276d9.png

 

Dolphin is reporting this:

image.png.bd7eb6708d5d3be97c04d42f42e01b8d.png

 

So it's working now.

 

I just don't understand why. The only difference is the execute flag and still the read/write behavior has changed. Can someone please explain?

Edited by Tom082

  • Community Expert

Directory permissions in Linux are often misunderstood as most the time folks are usually more concerned about file permissions.  Try reading this and see if that helps:

 

     https://www.benhansen.io/linux-directory-permissions/

 

One of the things which I tend to dislike about many of the file managers is that they tend to ignore the 'group'.  Unraid, in any type of a secured environment, tends to  use the 'group' and its permissions to access things. 

 

I do use File Managers (mostly, the built-in  Dynamix one) for file Unraid management but I use the standard Linux/Unix ls command for diagnosing  problems using these switches:

ls -al {/path-from-root-to-resource}

 

This will show everything you need to know...

  • Author

@Frank1940 Thank you very much. I'm still a Linux Noob (started ~4 weeks ago) so I still stumble quite often and have to read up a lot of stuff. Sometimes I can't find the obvious answer and then people like you providing help in forums save my day ❤️

  • 5 months later...
On 4/13/2025 at 8:42 AM, Tom082 said:

However, after running this:
image.png

 

Permissions look like this now:

image.png.6185ac0b9f914bfa260b5fe8be0276d9.png

 

Dolphin is reporting this:

image.png.bd7eb6708d5d3be97c04d42f42e01b8d.png

 

So it's working now.

 

I just don't understand why. The only difference is the execute flag and still the read/write behavior has changed. Can someone please explain?

ok so call me a complete moron , but where is this screen in unraid? all i have is new permissions.......

  • Community Expert

Click on SHARES

Then look under User Shares for the share in which you wan to change the permissions on. Next click on the icon to the left of the share name. These steps are basically indicated on this screenshot:

image.png

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.