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

Update OpAMP store effective configuration file permissions #1386

Closed
portertech opened this issue Dec 13, 2023 · 0 comments · Fixed by #1408
Closed

Update OpAMP store effective configuration file permissions #1386

portertech opened this issue Dec 13, 2023 · 0 comments · Fixed by #1408
Assignees

Comments

@portertech
Copy link
Contributor

Remote configuration files created by agent are created with default permissions and are readable by all users in the system. This potentially may contain some secrets.

Read permission for these files should be assigned only to files owner (0600 permission)

$ ls -al /etc/otrm/
total 12
drwxr-xr-x  2 root root 4096 Nov 21 14:21 .
drwxr-xr-x 95 root root 4096 Nov 21 13:07 ..
-rw-r--r--  1 root root 1325 Nov 21 14:21 00000000000004DF.yaml
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.

2 participants