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

C:\programdata\datadog\conf.d Windows System Permissions #747

Open
MrMitch17 opened this issue Aug 5, 2022 · 0 comments
Open

C:\programdata\datadog\conf.d Windows System Permissions #747

MrMitch17 opened this issue Aug 5, 2022 · 0 comments

Comments

@MrMitch17
Copy link

MrMitch17 commented Aug 5, 2022

The top level directory C:\programdata\datadog\conf.d

does not have system permissions on the directory.

This is causing issues with puppet managing the logs.yml file since it is the only file in that directory. Other integrations are in their own folders, which have the system user which has permissions.

C:/ProgramData/Datadog/conf.d: Scheduling refresh of Service[datadogagent]
: Could not set 'file' on ensure: Permission denied @ dir_s_mkdir - C:/ProgramData/Datadog/conf.d/logs.yaml20220805-3296-hlcovw.lock (file: /etc/puppetlabs/code/modules/datado
nt/manifests/integrations/logs.pp, line: 45)
: Could not set 'file' on ensure: Permission denied @ dir_s_mkdir - C:/ProgramData/Datadog/conf.d/logs.yaml20220805-3296-hlcovw.lock (file: /etc/puppetlabs/code/modules/datado
nt/manifests/integrations/logs.pp, line: 45)
ed exception:
ssion denied @ dir_s_mkdir - C:/ProgramData/Datadog/conf.d/logs.yaml20220805-3296-hlcovw.lock
: /Stage[main]/Datadog_agent::Integrations::Logs/File[C:/ProgramData/Datadog/conf.d/logs.yaml]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: P
sion denied @ dir_s_mkdir - C:/ProgramData/Datadog/conf.d/logs.yaml20220805-3296-hlcovw.lock (file: /etc/puppetlabs/code/modules/datadog_agent/manifests/integrations/logs.pp,
45) (corrective)

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

No branches or pull requests

1 participant