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

Cherry-pick to 5.3: Exempt root owned config files from ownership checker #3696

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

andrewkroh
Copy link
Member

@andrewkroh andrewkroh commented Feb 28, 2017

Cherry-pick of PR #3689 to 5.3 branch. Original message:

If a config file is owned by root, but the process is running as a non-privileged user the Beat should run. This change exempts root from the ownership test. This makes it possible to drop privileges before executing the beat.

* Exempt root owned config files from ownership checker

If a config file is owned by root, but the process is running as a non-privileged user the Beat should run. This change exempts root from the ownership test. This makes it possible to drop privileges before executing the beat.

* Update changelog entry for the file ownership and permission checker.

(cherry picked from commit c10d47a)
@ruflin ruflin merged commit 0083e12 into elastic:5.3 Mar 1, 2017
@andrewkroh andrewkroh deleted the backport_3689_5.3 branch July 5, 2017 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants