diff --git a/generator/actions.ml b/generator/actions.ml index 44e4bcf67..4a09a565a 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -10840,8 +10840,7 @@ C is a directory. shortdesc = "set the POSIX ACL attached to a file"; longdesc = "\ This function sets the POSIX Access Control List (ACL) attached -to C. The C parameter is the new ACL in either -\"long text form\" or \"short text form\" (see L). +to C. The C parameter may be: @@ -10857,7 +10856,24 @@ other filesystem object. Set the default ACL. Normally this only makes sense if C is a directory. -=back" }; +=back + +The C parameter is the new ACL in either \"long text form\" +or \"short text form\" (see L). The new ACL completely +replaces any previous ACL on the file. The ACL must contain the +full Unix permissions (eg. C). + +If you are specifying individual users or groups, then the +mask field is also required (eg. C), followed by the +C:...> and/or C:...> field(s). A full ACL +string might therefore look like this: + + u::rwx,g::rwx,o::rwx,m::rwx,u:500:rwx,g:500:rwx + \\ Unix permissions / \\mask/ \\ ACL / + +You should use numeric UIDs and GIDs. To map usernames and +groupnames to the correct numeric ID in the context of the +guest, use the Augeas functions (see C)." }; { defaults with name = "acl_delete_def_file";