1CDIST-TYPE__ACL(7) cdist CDIST-TYPE__ACL(7)
2
3
4
6 cdist-type__acl - Set ACL entries
7
9 Fully supported and tested on Linux (ext4 filesystem), partial support
10 for FreeBSD.
11
12 See setfacl and acl manpages for more details.
13
15 acl Set ACL entry following getfacl output syntax.
16
18 default
19 Set all ACL entries as default too. Only directories can have
20 default ACLs. Setting default ACL in FreeBSD is currently not
21 supported.
22
23 recursive
24 Make setfacl recursive (Linux only), but not getfacl in
25 explorer.
26
27 remove Remove undefined ACL entries. mask and other entries can't be
28 removed, but only changed.
29
31 Parameters user, group, mask and other are deprecated and they will be
32 removed in future versions. Please use acl parameter instead.
33
35 __acl /srv/project \
36 --default \
37 --recursive \
38 --remove \
39 --acl user:alice:rwx \
40 --acl user:bob:r-x \
41 --acl group:project-group:rwx \
42 --acl group:some-other-group:r-x \
43 --acl mask::r-x \
44 --acl other::r-x
45
46 # give Alice read-only access to subdir,
47 # but don't allow her to see parent content.
48
49 __acl /srv/project2 \
50 --remove \
51 --acl default:group:secret-project:rwx \
52 --acl group:secret-project:rwx \
53 --acl user:alice:--x
54
55 __acl /srv/project2/subdir \
56 --default \
57 --remove \
58 --acl group:secret-project:rwx \
59 --acl user:alice:r-x
60
62 Ander Punnar <ander-at-kvlt-dot-ee>
63
65 Copyright (C) 2018 Ander Punnar. You can redistribute it and/or modify
66 it under the terms of the GNU General Public License as published by
67 the Free Software Foundation, either version 3 of the License, or (at
68 your option) any later version.
69
71 ungleich GmbH 2019
72
73
74
75
766.4.0 Jan 04, 2020 CDIST-TYPE__ACL(7)