-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Broken file permissions on Windows #796
Comments
Can confirm this also affects |
Thx a lot, I noticed the same today. With adding selinux in #772 I forget the Windows systems. I will change the permission mode to undef on Windows platforms. |
May you can test the PR #797 ? |
Yup, I'll pull this in and test now. Will report back shortly. |
Can confirm this fixes the issue 🎉 |
No problem and thanks for pointing out the correct code section. Release is coming soon. |
For anyone who has unfortunately ended up with your Here's the steps that I took:
You should be back to normal operation now. If you're security conscious you may want to |
On Windows the permissions of the folder
C:/ProgramData/icinga2/etc/icinga2
are being incorrectly set toSYSTEM
removing other users from the permissions scheme.This means Puppet is no longer able to manage files under that directory as it runs in the
Administrator
context not theSYSTEM
context.Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Simply including the
icinga2::install
class is enough to reproduce.What are you seeing
A bunch of file permission errors
What behaviour did you expect instead
No errors
Output log
Any additional information you'd like to impart
I believe the issue is this line:
puppet-icinga2/manifests/install.pp
Line 40 in eaaca5b
SYSTEM
only permission (you can see the'6000000' to '0750'
in the output above).This is the permission scheme on a fresh install of the
icinga2
package from chocolatey:After a single Puppet run this is the changed permission scheme:
The text was updated successfully, but these errors were encountered: