From 3043f737a0c87ff47e1bb0570b6a831f1e1db1dd Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Thu, 25 Feb 2021 11:40:32 -0800 Subject: [PATCH] Update ACL documentation Update ACL documentation to describe support for the `X` permission for the `setfacl` command. --- docs/ansible.posix.acl_module.rst | 2 +- plugins/modules/acl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ansible.posix.acl_module.rst b/docs/ansible.posix.acl_module.rst index 07fa743..2b47f98 100644 --- a/docs/ansible.posix.acl_module.rst +++ b/docs/ansible.posix.acl_module.rst @@ -157,7 +157,7 @@ Parameters -
The permissions to apply/remove can be any combination of r, w and x (read, write and execute respectively)
+
The permissions to apply/remove can be any combination of r, w, x (read, write and execute respectively), and X (execute permission if the file is a directory or already has execute permission for some user)
diff --git a/plugins/modules/acl.py b/plugins/modules/acl.py index 38ff294..bacf6a5 100644 --- a/plugins/modules/acl.py +++ b/plugins/modules/acl.py @@ -48,7 +48,7 @@ options: choices: [ group, mask, other, user ] permissions: description: - - The permissions to apply/remove can be any combination of C(r), C(w) and C(x) (read, write and execute respectively) + - The permissions to apply/remove can be any combination of C(r), C(w), C(x) (read, write and execute respectively), and C(X) (execute permission if the file is a directory or already has execute permission for some user) entry: description: - DEPRECATED.