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

Make Linux config files permissions less open #312

Closed
loliee opened this issue Dec 1, 2020 · 0 comments · Fixed by #313
Closed

Make Linux config files permissions less open #312

loliee opened this issue Dec 1, 2020 · 0 comments · Fixed by #313

Comments

@loliee
Copy link
Contributor

loliee commented Dec 1, 2020

Prevent main & check configuration files to be read by everybody.
The reason is they can contains some secrets.

Before this modification we had something like that:

$ ls -lah /etc/datadog-agent/conf.d/mysql.d/conf.yaml
-rw-r--r-- 1 dd-agent dd-agent 657 Nov 30 15:15 /etc/datadog-agent/conf.d/mysql.d/conf.yaml
$ ls -lah /etc/datadog-agent/datadog.yaml
-rw-r--r-- 1 dd-agent dd-agent 215 Nov 30 15:09 /etc/datadog-agent/datadog.yaml

After it become:

$ ls -lah /etc/datadog-agent/datadog.yaml
-rw-r----- 1 dd-agent dd-agent 215 Dec  1 12:26 /etc/datadog-agent/datadog.yaml
$ ls -lah /etc/datadog-agent/conf.d/mysql.d/conf.yaml
-rw-r----- 1 dd-agent dd-agent 657 Dec  1 12:26 /etc/datadog-agent/conf.d/mysql.d/conf.yaml
albertvaka pushed a commit that referenced this issue Dec 1, 2020
Prevent main & check configuration files to be read by everybody.
The reason is they can contains some secrets.

Fix #312
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

Successfully merging a pull request may close this issue.

1 participant