[Samba] Some W11 unable to copy file to Samba share

tlaronde at kergis.com tlaronde at kergis.com
Wed Nov 6 12:32:17 UTC 2024


Hello,

On one Windows 11 node, a file created on a local disk can't be copied
or moved to a Samba share.

Windows / Samba first creates the empty file on the share, and then
stumbles upon it, refusing to overwrite it.

Hint: if this file is first copied or moved to an USB key, with a
FAT32 filesystem, this copy can then be moved or copied to the share.

So, from this last hint, I guess that this has something to do with
ACL or permissions that can't be put on the FAT32 filesystem, and that
these supplementary permissions, ACLs or whatever (I'm not a Windows
user, neither a Windows programmer, so I try to work with this, from
Unix, but that's it).

So the questions :

1) Is there somewhere, whether a book or online documentation
explaining what are the Windows file properties?

2) Is there somewhere, whether a book or online documentation
explaining how these Windows properties are mapped by Samba?

3) Is there the possibility to configure the Samba server to act as if
it was serving FAT32 filesystems, that is doing the strict minimum,
treating the user connected as foo as if he was foo on Unix, and
that's all without acrobatics? Playing with the level of the protocol?

4) When smbd is configured without ACL support, are the default
configuration values of smbd OK?

5) What is the relationship between ACL and XATTR? Can there be XATTR
without ACL support in smbd?

TIA for any hint.
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



More information about the samba mailing list