-
Recycle Bin (vfs recycle) for SMB Shares
Yes. %P generates an absolute path, and when it is concatenated with .Recycle.Bin/, it results in a path like .Recycle.Bin//folder. The double slash (//) likely causes Samba to interpret it as an empty path, which then triggers the error.
-
Recycle Bin (vfs recycle) for SMB Shares
It appears that the %P parameter has not been deprecated. Both the official documentation and the current source code indicate that %P is still supported: https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html https://gitlab.com/samba-team/samba/-/blob/master/source3/lib/substitute.c?ref_type=heads Based on the wiki and the latest source, %P seems to be working as expected. As for future versions, ongoing development will be in your hands. thanks๐๐๐ In any case, the delete functionality is now behaving correctly, which is sufficient for my current use case.
-
Recycle Bin (vfs recycle) for SMB Shares
Using parameters other than %P should avoid the issue PANIC (pid 2198065): assert failed: rel_fname.base_name[0] != '\0'.
-
Recycle Bin (vfs recycle) for SMB Shares
I re-investigated the issue. Based on my analysis, it appears to be caused by .Recycle.Bin being combined with the %P parameter. %P is an absolute path, and after being concatenated by the module, the resulting parameter becomes: recycle:repository = .Recycle.Bin/%P During deletion, the final recycle bin path ends up in the following format: /mnt/z/file/.Recycle.Bin//mnt/user/file/ff/Games/ The double slash (//) in the middle causes Samba to fail when parsing the path. I modified the concatenation logic for recycle:repository. You can try this package. I tested the recycle bin functionality, and it seems to be working fine now. ๐ plugin error fix: https://raw.githubusercontent.com/bigfoxtail/recycle.bin/refs/heads/master/recycle.bin.plg https://github.com/bigfoxtail/recycle.bin
-
Recycle Bin (vfs recycle) for SMB Shares
At the beginning, my initial tests showed no issues. Later, I found that the problem is very random. I originally thought it was caused by the fruit configuration, but later I realized that my changes did not actually resolve the issue.๐ญ๐ญ๐ญ I added fruit:aapl = no to the global configuration, and the errors seem to occur much less frequently, but there are still a lot of errors in the logs. This issue appears to be an upstream Samba problem, and the only option is to wait for an update.
-
Recycle Bin (vfs recycle) for SMB Shares
There is a problem with the configuration written by the pluginใ plugin error fix: https://raw.githubusercontent.com/bigfoxtail/recycle.bin/refs/heads/master/recycle.bin.plg https://github.com/bigfoxtail/recycle.bin No, I was wrong. It still doesnโt work. ๐ญ๐ญ๐ญ
bigfoxtail
Members
-
Joined
-
Last visited