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.

Permission errors in 6.11.0 when deleting files from phone with android file managers

Featured Replies

  • Community Expert
9 minutes ago, dlandon said:

 Install the recycle bin plugin and be sure it is running.

 

In my testing it looks like file deletes work.

Yep, it also works for me.

  • Replies 98
  • Views 15.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Thanks for kicking the topic back up and your research Jserio! Although I've been a really happy Unraid user for quite some years now (since 2015), I'm extremely disappointed in the way that Lime

  • I've done some testing and found out Samba is crashing: [2024/03/14 09:07:19.329402,  0] ../../source3/smbd/fd_handle.c:39(fd_handle_destructor)   PANIC: assert failed at ../../source3/smbd/fd_hand

  • You are of course correct that SMB1 is problematic from a security point at this time but I don't think you are correct in stating this is something that needs to be fixed on the android side - it see

Posted Images

  • Author
24 minutes ago, dlandon said:

I seem to have found a get around, but I'm baffled right now about why this works.  Install the recycle bin plugin and be sure it is running.

This sort of works for me, but it isn't working in a Test share that I have .txt files in to test deleting, but deleted some other files fine.

  • Community Expert
21 minutes ago, aqua said:

but it isn't working in a Test share that I have .txt files

Strange, the test I made also was with txt files, and it worked for me.

1 hour ago, aqua said:

This sort of works for me, but it isn't working in a Test share that I have .txt files in to test deleting, but deleted some other files fine.

This might be affected by the excluded files in the recycle bin.  As I mentioned already, this is a very bizare get around and I don't expect it to work in all cases.  It's going to end up being up to the samba development team to find the final solution.

1 hour ago, dlandon said:

This might be affected by the excluded files in the recycle bin.  As I mentioned already, this is a very bizare get around and I don't expect it to work in all cases.  It's going to end up being up to the samba development team to find the final solution.

Can you share your log into the bugzilla issue. If it's not the same as should open an new one.

 

Thx a lot

  • 3 months later...

Any update on this, it is still an issue with 6.12.10 and recycle bin would be great if it could monitor and delete stuff immediately but it can't so I either have to wait an hour or go in the web UI to run it manually.

  • 3 weeks later...

Because beta version 7 is out now, see here: 

 


Is this issue solved? (so i dont have to activate old samba protocoll?)

thx

 

  • 3 weeks later...
On 7/3/2024 at 9:03 AM, pOpYRaid said:

Because beta version 7 is out now, see here: 

 


Is this issue solved? (so i dont have to activate old samba protocoll?)

thx

 

https://docs.unraid.net/unraid-os/release-notes/7.0.0/

samba: version 4.20.2

https://www.samba.org/samba/history/samba-4.20.2.html

There seems to be some changes but I'm not sure if it relates to solving this error.

* BUG 15659: Segmentation fault when deleting files in vfs_recycle.

/BR

Edited by TateM

I have tested it with the beta, sadly the issue is not gone.

  • 4 weeks later...
On 7/26/2024 at 10:26 AM, pOpYRaid said:

I have tested it with the beta, sadly the issue is not gone.

@pOpYRaid Do you have the recycle bin active? It appears there are two issues. The initial error appears to be due to Bug 15527; this was fixed in 4.20.0 and backported to 4.19.6.

 

4.20.1 introduced a new issue, Bug 15659; which I'm guessing is triggered by the recycle plugin workaround.

 

Unfortunately I don't have a spare server to verify with the 7.0 beta.

@tkenn1s thx for clearing things up. my beta 2 of unraid 7 is running samba 4.20.2.


No, i have not installed the recycle bin plugin.

 

Any other ideas.
It seems to be related to specific android file managers, i am using solid explorer for years and sadly it affects it.

Any other hint's i can tighten up security by using SAMB 2/3 with solid explorer?

FINALLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Solid Explorer Dev. fixed that issue on 17.08.2024 with version 2.8.46, see here: https://play.google.com/store/apps/details?id=pl.solidexplorer2

image.png.81800f5ec88ded2098db4dbd09c4655c.png

I was in contact with him and sent some logs during reproducing the issue (deletion of an file on unraid on SMB 2/3).
Tested it with the new version stating "SMB client improvements" and it works! No more errors!

Just wanted you (Solid Explorer) users know.

@aqua
Interresting!

My best advise is to enable debug mode in solid explorer, reproduce the issue and send the report to the dev within the app.
Or second: update to unraid 7 beta 2 (which runs flawless for me).

9 minutes ago, pOpYRaid said:

@aqua
Interresting!

My best advise is to enable debug mode in solid explorer, reproduce the issue and send the report to the dev within the app.
Or second: update to unraid 7 beta 2 (which runs flawless for me).

Unfortunately, it doesn't work for me either with the latest Solid Explorer and 7b2. Are you using the Recycle Bin plug-in? Also, would you mind sharing your SMB settings and custom parameters (if any)?

Here are my solid explorer settings:

 

Solid_explorer_settings.thumb.png.aeb64f6b70f9f7484c7ae7e49e783c14.png

 

And the unraid settings:

 

image.thumb.png.03b2d21afd31f3a69aa3cdf40552f861.png

 

Advanced settings (for hardening):

#hardening SMB standalone server
server min protocol = SMB3_11
client ipc min protocol = SMB3_11
client signing = mandatory
server signing = mandatory
client ipc signing = mandatory
client NTLMv2 auth = yes
smb encrypt = required
restrict anonymous = 2
null passwords = No
raw NTLMv2 auth = no

 

but also without any advanced settings i can delete files without an issue with solid explorer now.

 

55 minutes ago, pOpYRaid said:

Here are my solid explorer settings:

 

Solid_explorer_settings.thumb.png.aeb64f6b70f9f7484c7ae7e49e783c14.png

 

And the unraid settings:

 

image.thumb.png.03b2d21afd31f3a69aa3cdf40552f861.png

 

Advanced settings (for hardening):

#hardening SMB standalone server
server min protocol = SMB3_11
client ipc min protocol = SMB3_11
client signing = mandatory
server signing = mandatory
client ipc signing = mandatory
client NTLMv2 auth = yes
smb encrypt = required
restrict anonymous = 2
null passwords = No
raw NTLMv2 auth = no

 

but also without any advanced settings i can delete files without an issue with solid explorer now.

 

I removed the Recycle Bin plug-in and duplicated your settings exactly and still get the error. Have you tried to delete a directory with files and folders inside? Deleting a single file is fine. It's the subdirectories that will give an error.

Other than pOpyraid, has anyone else got this working? Also, single file deletion and empty directories have always worked. It's deleting directories with multiple files/folders inside that result in the error.

@jserioyou are right! I have forgotten the issue was just on deleting folders with some files in it. Issue still persists for me, also with 2.8.46 solid explorer.

 

I am so sorry guys for the false alarm!

 

Will contact the dev of solid explorer and ask him how to proceed.

  • Author

I still have issue deleting individual files, including in solid explorer.

@aqua single files work for me here, really ;)

2 hours ago, pOpYRaid said:

@jserioyou are right! I have forgotten the issue was just on deleting folders with some files in it. Issue still persists for me, also with 2.8.46 solid explorer.

 

I am so sorry guys for the false alarm!

 

Will contact the dev of solid explorer and ask him how to proceed.

I doubt they (@Limetech) will ever fix this. They have yet to acknowledge it. I'm tempted to switch back to SMB1 just to get this to work again. It's quite frustrating that this has been going on for the last few years.

@limetech can you please look into this?

  • 3 months later...
On 8/23/2024 at 8:33 PM, jserio said:

I doubt they (@Limetech) will ever fix this. They have yet to acknowledge it. I'm tempted to switch back to SMB1 just to get this to work again. It's quite frustrating that this has been going on for the last few years.

Agreed, this issue has been reported multiple times over the last 2+ years without acknowledgement that it's a real issue.

 

@limetech How can we move forward with getting this issue resolved?

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.