User story #14514
closed
User story #12271: Generic method to set POSIX ACL
Add a generic method to add ACLs on a given file
Added by Félix DALLIDET over 5 years ago.
Updated over 2 years ago.
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.
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
- 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
- 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
- Parent task set to #12271
- Target version changed from 5.0.9 to 5.0.10
- Target version changed from 5.0.10 to 5.0.11
- Target version changed from 5.0.11 to 5.0.12
- Status changed from Pending technical review to Pending release
Applied in changeset commit:ab30440bb1594ce09938319e34a143d7b6e04c7b.
- Name check changed from To do to Reviewed
- Fix check changed from To do to Checked
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.12 which was released today.
Also available in: Atom
PDF