[Samba] windows "Security" attributes for standard linux rwx permissions missing?

Michael Tokarev mjt at tls.msk.ru
Wed May 24 10:29:27 UTC 2023


Hi!

Just noticed today that windows does not list permissions for standard
linux RWX file access modes on a samba share anynmore. The "Security"
tab in file-properties dialog correctly shows the 3 standard entities
(file owner, group and "everyone"), but no security attributes are
shown for any of those entities, the "Permissions for <..>" list
does not have any entry checked (Full Control, Modify, Read, etc -
none of that are set).  There's just one entry checked --
it is "Special permissions".

I remember samba mapped at least r and w bits to Read and Write.
Or maybe I misremember something?

When hitting "Modify" button and enabling some permissions there,
samba creates an ACL for this file, with standard RWX perms
mirrored as actual ACL entries, like, for a file group-owned
by group "users" it creates group:: acl and group:users: acl
with the same contents.  Which works, but obviously breaks
when changing group of this file.

Thanks,

/mjt



More information about the samba mailing list