Skip to content

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

@MrMitch17

Description

@MrMitch17

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions