2018-06-07 12:07:00 +00:00
|
|
|
cdist-type__acl(7)
|
|
|
|
==================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2019-04-19 11:11:29 +00:00
|
|
|
cdist-type__acl - Set ACL entries
|
2018-06-07 12:07:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2019-04-19 11:11:29 +00:00
|
|
|
ACL must be defined as 3-symbol combination, using ``r``, ``w``, ``x`` and ``-``.
|
2018-06-07 12:07:00 +00:00
|
|
|
|
2019-04-19 11:47:16 +00:00
|
|
|
Fully supported on Linux (tested on Debian and CentOS).
|
|
|
|
|
|
|
|
Partial support for FreeBSD, OSX and Solaris.
|
|
|
|
|
|
|
|
OpenBSD and NetBSD support is not possible.
|
2019-04-19 11:11:29 +00:00
|
|
|
|
|
|
|
See ``setfacl`` and ``acl`` manpages for more details.
|
2018-06-07 12:07:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL MULTIPLE PARAMETERS
|
|
|
|
----------------------------
|
|
|
|
user
|
|
|
|
Add user ACL entry.
|
|
|
|
|
|
|
|
group
|
|
|
|
Add group ACL entry.
|
|
|
|
|
|
|
|
|
2019-04-16 20:29:38 +00:00
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
|
|
|
mask
|
|
|
|
Add mask ACL entry.
|
|
|
|
|
|
|
|
other
|
|
|
|
Add other ACL entry.
|
|
|
|
|
|
|
|
|
2018-06-07 12:07:00 +00:00
|
|
|
BOOLEAN PARAMETERS
|
|
|
|
------------------
|
|
|
|
recursive
|
2019-04-19 11:11:29 +00:00
|
|
|
Make ``setfacl`` recursive (Linux only), but not ``getfacl`` in explorer.
|
2018-06-07 12:07:00 +00:00
|
|
|
|
|
|
|
default
|
2019-04-19 11:11:29 +00:00
|
|
|
Add default ACL entries (FreeBSD not supported).
|
2018-06-07 12:07:00 +00:00
|
|
|
|
|
|
|
remove
|
|
|
|
Remove undefined ACL entries (Solaris not supported).
|
2019-04-19 11:11:29 +00:00
|
|
|
ACL entries for ``mask`` and ``other`` can't be removed.
|
2018-06-07 12:07:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
__acl /srv/project \
|
|
|
|
--recursive \
|
|
|
|
--default \
|
|
|
|
--remove \
|
|
|
|
--user alice:rwx \
|
|
|
|
--user bob:r-x \
|
|
|
|
--group project-group:rwx \
|
2019-04-15 11:04:07 +00:00
|
|
|
--group some-other-group:r-x \
|
2019-04-16 16:06:48 +00:00
|
|
|
--mask r-x \
|
|
|
|
--other r-x
|
2018-06-07 12:07:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Ander Punnar <ander-at-kvlt-dot-ee>
|
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2018 Ander Punnar. You can redistribute it
|
|
|
|
and/or modify it under the terms of the GNU General Public License as
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|