Comment 2 for bug 2007055

Revision history for this message
Andy (andyman1) wrote :

I found a few more pieces of information.

First, the different default parameters i found (forceuid/gid, iocharset, serverino) don't seem to make a difference. I figured out how to make them identical between the two systems and the problem was the same.

Second, what DID make a difference was changing the samba/cifs version protocol for the mount command. e.g. -o vers=x.y

For the 20.04 desktop, using vers=2.0, 2.1, 3.0, 3.11 all worked fine. modified times preserved and rsync behaves.

For the 22.04 laptop, using vers=2.1, 3.0, 3.11 all fail like above. BUT using vers=2.0 works correctly. modified times are preserved.

I also found that if I use KDE's Dolphin to copy a file, the modified times are preserved as well. I suspect it's also using SMB 2.0, which is why it succeeded. But a bit of additional info that it's not just an rsync problem.