...adding linux-cifs to the loop... On 8/1/25 3:34 PM, Jean-Baptiste Denis via samba wrote:> $ make test > echo 'new script version' > myscript.replacement > ./reproducer > sleep for 5 seconds... > (main) failed to rename myscript.replacement to myscript: No such file > or directory > (readf) failed to open file './myscript': No such file or directoryso it seems to be something in the cifs kernel client doing this. Can you somewhere post a network trace that covers this? @Steve: do you have some fallback logig in the client that is triggered if a rename fails with STATUS_ACCESS_DENIED and then removed the (existing) rename destination? Thanks! -slow -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20250801/7cce3de7/OpenPGP_signature.sig>
Jean-Baptiste Denis
2025-Aug-01 15:16 UTC
[Samba] Sequence of actions resulting in data loss
On 8/1/25 5:10 PM, Ralph Boehme wrote:> so it seems to be something in the cifs kernel client doing this. Can you somewhere> post a network trace that covers this? Here it is: https://dl.pasteur.fr/fop/aAxGNfJR/file_delete_reproducer_c.pcap Jean-Baptiste