User story #14514
closedUser story #12271: Generic method to set POSIX ACL
Add a generic method to add ACLs on a given file
Description
This GM should be able to add aces to a given file or set of file, without impacting the already defined other aces.
The "path" parameter will support the regex type defined here: https://docs.cfengine.com/docs/3.13/reference-functions-findfiles.html
Each file will have a dedicated line in the reporting but only one global report will be send.
Ex: /tmp/myDir/* will apply to every file and directory in /tmp/myDir
The current syntax for user or group ace must respect the format: $|[A-z0-9._-]+:[+-]r?w?x?$
Ex: myuser:+rwx, mystupidUser:-rwx
Syntax for "other" must respect the format: $|[+-]r?w?x?
Each parameter left blank will have no effect on the file.
Default mode for the recursivity will be "false".
It can be recursive or not, but can not modify the "default" ACLs of a given directory.
Updated by Félix DALLIDET almost 6 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Vincent MEMBRÉ almost 6 years ago
- Subject changed from Add a generic method to add ACEs on a given file to Add a generic method to add ACLs on a given file
Updated by Félix DALLIDET almost 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/939
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.9 to 5.0.10
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.10 to 5.0.11
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.11 to 5.0.12
Updated by Félix DALLIDET over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset ab30440bb1594ce09938319e34a143d7b6e04c7b.
Updated by Alexis Mousset over 5 years ago
- Name check changed from To do to Reviewed
Updated by Nicolas CHARLES over 5 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.12 which was released today.