Re: Samba stat() returning POSIX mode bits when NT ACLs are authoritative
Itifix via samba <[email protected]>
| Newsgroups | gmane.network.samba.general |
|---|---|
| Message-ID | <NjNUVQlQ4m8opGS0EL5r4dWLja-z201FKtFmWHrdhQGAj7Ct_2Q-qTPauFWEQ3o4Nd3Q9UJCNwxUw6UkLwZTxMJ1yC5AhnUAiwaSaNM11jY=@proton.me> |
My test share configurations look like this, and unfortunately it doesn't work as you described: [test] path = /test csc policy = disable hide dot files = No posix locking = No read only = No writable = yes vfs objects = streams_xattr acl_xattr acl_xattr:default acl style = windows acl_xattr:ignore system acl = yes force create mode = 0777 force directory mode = 0777 #create mask = 0777 #directory mask = 0777 and [test] path = /test csc policy = disable hide dot files = No posix locking = No read only = No writable = yes vfs objects = streams_xattr acl_xattr acl_xattr:default acl style = windows acl_xattr:ignore system acl = yes #force create mode = 0777 #force directory mode = 0777 create mask = 0777 directory mask = 0777 He's still writing the POSIX ACLs for new files, just to test a possible solution. ------ Hi! This sounds like "acl_xattr:ignore system acls = yes" is probably what you're looking for. Note that when enabling this on existing data, you have to wipe existing POSIX ACLs and set the mode to 0777/0666 for everything. For new files and dirs this happens automatically. -slow -- Join us for the 25th sambaXP 2026 conference April 20th & 21th, 2026 at Hotel Freizeit In sponsored by TranquilIT & Microsoft & SerNet Ticketing & more Info at https://sambaxp.org SerNet Samba Team Lead https://sernet.de/ Samba Team PLC https://samba.org/ Support and Development https://samba.plus/services/ SAMBA+ packages https://samba.plus/products/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba