Since samba-4.22 vfs_recycle fails to update ctime/mtime if keeptree is set: recycle:keeptree = Yes recycle:touch = Yes Fix is in progress: https://gitlab.com/samba-team/samba/-/merge_requests/4284
Commit "7839fa Remove non_widelink_open()" has changed fd_openat() - it is no longer calling non_widelink_open() and did this: + if (ISDOT(name_in)) { + /* + * filename_convert_dirfsp does not like ".", use "" + */ + name_in += 1; } It checks that the input "smb_fname->base_name" is not ".". Actually if "smb_fname->base_name" is e.g. ".trash/./filename", the filename_convert_dirfsp() fails as well, because one of the component is ".".
This bug was referenced in samba master: 498984cf346630c17169dbdb13a232854309f6a8 5124acec34c20391cdfeb9d9005365047b7d7eee 9bbdfee7f2fdeee3cf530becb2a6f06345627b23
Created attachment 18765 [details] 4.23 patch
Created attachment 18766 [details] 4.22 patch
Jule please apply 4.23 and 4.22 patches.
Pushed to autobuild-v4-{23,22}-test.
This bug was referenced in samba v4-22-test: 56ff3d96aa3786ead388541a669d863b24b38c0e cd92005e35caa5f6fbedfaa1b90ad4ef87e0c5ff f318a44c526beb8ba412fa569140953e9be7e303
This bug was referenced in samba v4-23-test: 633a74d3d6035a426564dade56b36c6f3ee2f5b6 ad4bbed0563fe27a9b95ae0c460d4e771745bfbd 74001ee99f00c3de9a90111b3c70a8808dfbfb83
Closing out bug report. Thanks!
This bug was referenced in samba v4-23-stable (Release samba-4.23.3): 633a74d3d6035a426564dade56b36c6f3ee2f5b6 ad4bbed0563fe27a9b95ae0c460d4e771745bfbd 74001ee99f00c3de9a90111b3c70a8808dfbfb83