[Samba] Samba, ACLs and 'primary group'...
Marco Gaiarin
gaio at sv.lnf.it
Wed Feb 5 12:02:04 UTC 2020
> 2) set 'SGID' bit on directory, so files get created 'parent dir owned'
> and not 'primary group owned'.
Do some more tests on this.
If 'vfs objects = acl_xattr' on share, 'sgid' seems ignored, folders
still created with windows primary group ('domain users').
If i remove it, and i add:
map acl inherit = yes
inherit permissions = yes
there's no need to set SGID bit, files get created with correct
permissions (base and ACL of the parent dir) and with correct owner
(UNIX primary group).
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the samba
mailing list