Project

General

Profile

Actions

User story #12271

open

Generic method to set POSIX ACL

Added by François ARMAND over 6 years ago. Updated over 1 year ago.

Status:
New
Priority:
N/A
Category:
Generic methods
UX impact:
Suggestion strength:
Require - I need this to use Rudder as I intend
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Name check:
Fix check:
Regression:

Description

We want to provide generic methods for POSIX ACL.

The requirements are:

- we need to be able to manage N ACL on P files in a single Technique built with these generic methods,
- we need to be able to define at minimum a list of files, ideally some fileset

It seems necessary to propose several methods that would let the user choose the reporting level he wants (or need):

- one ACL on one File (very precise, but may become extremely verbose)
- one ACL on a file set
- N ACLs on a file
- N ACLs on a file set.

Even in the case where we have N ACLs on a fileset, we need to provide verbose error message tracing exactly what problem was encountered on what file.

We will need to propose at least 3 kinds of action (and so 3 kinds of methods):

- one that set ACL without touching other existing ones,
- one that set ACL exactly to what is provided as parameter (less prioritary),
- one that remove (one or all) ACLs.

These methods will need to check for libacl support (introduced in #12270) for agent capability support.


Subtasks 3 (0 open3 closed)

User story #14514: Add a generic method to add ACLs on a given fileReleasedNicolas CHARLESActions
Bug #14517: Add a generic method to remove posix ACLReleasedAlexis MoussetActions
User story #14528: Add a generic method to enforce posix ACLRejectedActions

Related issues 2 (0 open2 closed)

Related to Rudder - User story #12270: Add libacl to Rudder agentReleasedAlexis MoussetActions
Related to Rudder - User story #22386: Add a 'Permissions POSIX ACLs entry parent' methodReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF