1VFS_ACL_XATTR(8) System Administration tools VFS_ACL_XATTR(8)
2
3
4
6 vfs_acl_xattr - Save NTFS-ACLs in Extended Attributes (EAs)
7
9 vfs objects = acl_xattr
10
12 This VFS module is part of the samba(7) suite.
13
14 The vfs_acl_xattr VFS module stores NTFS Access Control Lists (ACLs) in
15 Extended Attributes (EAs). This enables the full mapping of Windows
16 ACLs on Samba servers.
17
18 The ACLs are stored in the Extended Attribute security.NTACL of a file
19 or directory. This Attribute is not listed by getfattr -d filename. To
20 show the current value, the name of the EA must be specified (e.g.
21 getfattr -n security.NTACL filename).
22
23 This module forces the following parameters:
24
25 • inherit acls = true
26
27 • dos filemode = true
28
29 • force unknown acl user = true
30
31
32 This module is stackable.
33
35 acl_xattr:ignore system acls = [yes|no]
36 When set to yes, a best effort mapping from/to the POSIX ACL layer
37 will not be done by this module. The default is no, which means
38 that Samba keeps setting and evaluating both the system ACLs and
39 the NT ACLs. This is better if you need your system ACLs be set for
40 local or NFS file access, too. If you only access the data via
41 Samba you might set this to yes to achieve better NT ACL
42 compatibility.
43
44 If acl_xattr:ignore system acls is set to yes, the following
45 additional settings will be enforced:
46
47 • create mask = 0666
48
49 • directory mask = 0777
50
51 • map archive = no
52
53 • map hidden = no
54
55 • map readonly = no
56
57 • map system = no
58
59 • store dos attributes = yes
60
61
62 acl_xattr:default acl style = [posix|windows|everyone]
63 This parameter determines the type of ACL that is synthesized in
64 case a file or directory lacks an security.NTACL xattr.
65
66 When set to posix, an ACL will be synthesized based on the POSIX
67 mode permissions for user, group and others, with an additional ACE
68 for NT Authority\SYSTEM will full rights.
69
70 When set to windows, an ACL is synthesized the same way Windows
71 does it, only including permissions for the owner and NT
72 Authority\SYSTEM.
73
74 When set to everyone, an ACL is synthesized giving full permissions
75 to everyone (S-1-1-0).
76
77 The default for this option is posix.
78
80 The original Samba software and related utilities were created by
81 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
82 Source project similar to the way the Linux kernel is developed.
83
84
85
86Samba 4.14.5 06/01/2021 VFS_ACL_XATTR(8)