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 #21617: Permissions are not preserved in shared-files on the relays #1778

Conversation

amousset
Copy link
Member

@amousset amousset requested a review from ncharles August 18, 2022 14:51
@amousset
Copy link
Member Author

PR updated with a new commit

@@ -115,6 +115,7 @@ bundle agent propagate_promises(trackingkey, technique_name, relay_sync_method,
"${g.shared_files}"
copy_from => remote("${server_info.policy_server}","${g.shared_files}"),
depth_search => recurse_visible("inf"),
perms => mog("640", "root", "rudder"),
Copy link
Member Author

Choose a reason for hiding this comment

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

not sure about this, we may need to preserver permissions instead

Copy link
Member Author

Choose a reason for hiding this comment

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

I'l check how it could work before

Copy link
Member Author

Choose a reason for hiding this comment

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

Apparently we didn't preserve perms there back in 3.1, so let's assume we don't need it.

@Normation-Quality-Assistant
Copy link
Contributor

OK, squash merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant force-pushed the bug_21617/permissions_are_not_preserved_in_shared_files_on_the_relays branch from 485909b to f52c382 Compare August 22, 2022 08:28
@Normation-Quality-Assistant Normation-Quality-Assistant merged commit f52c382 into Normation:branches/rudder/7.1 Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants