[Samba] Overwriting open files on cifs mount of Samba share fails

Jeremy Allison jra at samba.org
Fri Nov 5 22:06:40 UTC 2021

On Fri, Nov 05, 2021 at 08:14:02PM +0100, Philipp Wendler via samba wrote:
>I have tested this among others with Ubuntu 20.04 on both client and
>server (kernel 5.4.0 and samba 4.11.6). I am aware that these are not
>the latest versions, but as mentioned would greatly appreciate any
>information about whether an update could potentially improve the
>My configuration is totally standard as I tested it with a fresh
>installation and just added a writable share.
>The resulting mount options on the client are
>Of these, I only specified vers, uid and gid.
>nounix was automatically added although testparm -v on the server says
>"unix extensions = Yes".

"unix extensions" only works over SMB1 at the moment. You
have specified SMB version 3.1.1 in your mount options on
the client, plus friends don't let friends use SMB1 anymore
(and your server almost certainly has SMB1 disabled).

The client redirector will have to try and spoof this,
rename over open files can't be done with "standard"

More information about the samba mailing list