-
Notifications
You must be signed in to change notification settings - Fork 52
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
Disable rights change for pdns config dir #44
Conversation
Failed build is unrelated to my PR: |
Yes I can confirm that the issue with the CI is not related to your PR. |
tasks/configure.yml
Outdated
@@ -24,9 +24,6 @@ | |||
file: | |||
name: "{{ pdns_rec_config_dir }}" | |||
state: directory | |||
owner: root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we explicitely set
owner: root
group: root
mode: 0755
instead of using the defaults?
Ping @KawaiDesu :) |
Do not touch right for powerdns config and leave it as in package
Just rebased @KawaiDesu's work and implemented the code-review feedback. |
Thanks @KawaiDesu for digging into the file permissions set by the role. |
@atosatto sorry for long reaction. |
Hi @KawaiDesu sorry for taking over your PR but I thought this was abandoned.
The PowerDNS Recursor is started as root of any system and then the permissions are stripped to the one of the user and group configured by the Setting the permissions to Note that the permissions set by the Ansible role won't be changed upgrading the package. |
Do not touch right for powerdns config and leave it as in package. Because of 750 (default is 755) I unable to place additional configuration files in config directory.