Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #14638: Add a generic method to add ace for "other" on a given file #958

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented Apr 11, 2019

@Fdall Fdall force-pushed the bug_14638/add_a_generic_method_to_add_ace_for_other_on_a_given_file branch from 476341c to 71cb6b9 Compare May 23, 2019 13:22
@Fdall
Copy link
Contributor Author

Fdall commented May 23, 2019

PR rebased

#
# @parameter path Path of the file or directory
# @parameter recursive Recursive Should ACLs cleanup be recursive, "true" or "false" (defaults to "false")
# @parameter other_ace ACE to enforce for the given other.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the given other ? simply for "other"

@Fdall Fdall force-pushed the bug_14638/add_a_generic_method_to_add_ace_for_other_on_a_given_file branch 2 times, most recently from 7819b8e to 7efe36f Compare June 24, 2019 09:24
@Fdall
Copy link
Contributor Author

Fdall commented Jun 24, 2019

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/ncf/pull/958
-- Your faithful QA
Kant merge: "Live your life as though your every act were to become a universal law."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/11578/console)

@Fdall
Copy link
Contributor Author

Fdall commented Jun 24, 2019

OK, squash merging this PR

Fixes #14638: Add a generic method to add ace for \"other\" on a given file
@Fdall Fdall force-pushed the bug_14638/add_a_generic_method_to_add_ace_for_other_on_a_given_file branch from 7efe36f to d03ac2a Compare June 24, 2019 12:19
@Fdall Fdall merged commit d03ac2a into Normation:branches/rudder/5.0 Jun 24, 2019
"set old classes" usebundle => _classes_copy("${class_prefix}", "${old_class_prefix}");

is_recursive.pass3.files_found::
"report" usebundle => _log_v3("${report_string} ${const.endl}Set POSIX acl ${other} recursively on ${path}", "${path}", "${old_class_prefix}", "${class_prefix}", @{args});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on the rudder cli, it output "repaired: /tmp/acl", but in the interface it's ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants