Hi all, a nobody here but thought I'd help dive in because it's just as frustrating to me too...
So a quick recap for new and old returning members....
- Solid Explorer (and many other android file explorers) receive a permission denied error when attempting to delete a file/folder from an SMB share in recent versions of Unraid. The delete still occurs (as evident by refreshing the page), but an Access Denied error is still received by the client.
- CX File Explorer is one of few apps that can delete and does not show any error. Suspect that it simply does a better job at handling the crap sent from Unraid.
- This is not an issue when accessing from windows or Linux systems.
- This is not a Samba issue.
- Although Solid Explorer could deal with the error better, the root cause is with Unraid.
So far, I've tried to just verify and replicate findings from others... here is said info:
Unraid Version: 6.12.4
Samba Version: 4.17.10
Solid Explorer Version: 2.8.35
I set up SMB for a new share and connected via CX and Solid Explorer. I could successfully create and delete items in the share using CX without issues. I clearly experienced the subject symptoms when working with Solid Explorer... created a file fine, denied to delete it, refreshed and saw it was removed.
I then set up a Fedora 37 VM and installed the same version of Samba (4.17.10) and followed the instructions here for configuration:
https://techviewleo.com/install-configure-samba-share-on-fedora/
I then repeated the test actions with Solid Explorer after connecting to the new Fedora SMB share, and it worked perfectly... as expected after hearing Samba on other systems works fine. So we can safely say this is an Unraid issue.
In terms of configuration differences... I noted I HAD to add the share folder in fedora to "samba_share_t" in SELinux. Without doing so, I had no access to the share. Unraid/slackware don't seem to have SELinux.
I also found some differences in the smb.conf stuff, but after making changes to it in Fedora, you call "systemctl restart smb" to allow the changes to take effect. The command is not valid in Unraid and so the only way I thought of "restarting" smb in Unraid was to stop the array, turn off smb, turn on smb, start the array... this however simply reverted any and all changes made to smb.conf and smb-shares.conf on Unraid, so I don't know how to verify if any changes there will work.
Lastly, I haven't yet looked into the firewall configuration in Unraid as that was needed in Fedora to allow access... just something else to rule out.
Hopefully there's someone out here now that is willing to work through it with me.
EDIT:
If someone on an older version of Unraid that doesn't experience the Solid Explorer access issue, could share their /etc/samba/smb.conf and smb-share.conf files, it would be good to directly compare with my files to see if that's where the issue lies.