Skip to content

Tighten file permissions#4251

Merged
zalegrala merged 4 commits intografana:mainfrom
zalegrala:filePermissions
Oct 31, 2024
Merged

Tighten file permissions#4251
zalegrala merged 4 commits intografana:mainfrom
zalegrala:filePermissions

Conversation

@zalegrala
Copy link
Copy Markdown
Contributor

@zalegrala zalegrala commented Oct 30, 2024

What this PR does:

Here we adjust adjust permissions of files and directories which are managed by the tempo process at runtime. Additionally, this changes the docker image permissions of /var/tempo to remove group and world access entirely (0700).

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Copy Markdown
Contributor

@javiermolinar javiermolinar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, have you tested it with our docker-compose examples?

@zalegrala
Copy link
Copy Markdown
Contributor Author

I deployed an image to k8s, but I'll test docker compose before merging. Good call.

@zalegrala zalegrala merged commit 6607ab3 into grafana:main Oct 31, 2024
@zalegrala zalegrala deleted the filePermissions branch October 31, 2024 15:22
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 this pull request may close these issues.

2 participants