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

chore: [k207] fix: separates directory creation from permission checks #13257

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

grafanabot
Copy link
Collaborator

Backport 1086783 from #13248


closes #13222
Signed-off-by: Owen Diehl ow.diehl@gmail.com

The change from https://github.com/grafana/loki/pull/12019/files cascaded into other usage of EnsureDirectory and thus required every place it was called to require at least 0o700 permissions, effectively breaking any read-only mounts.

I've separated creation from permissions testing so they can be applied independently, added some more utilities, and some testware.

@grafanabot grafanabot requested a review from a team as a code owner June 18, 2024 15:12
@grafanabot grafanabot added backport size/M type/bug Somehing is not working as expected labels Jun 18, 2024
@grafanabot grafanabot requested a review from owen-d June 18, 2024 15:12
@slim-bean slim-bean merged commit 8923c3a into k207 Jun 18, 2024
21 of 22 checks passed
@slim-bean slim-bean deleted the backport-13248-to-k207 branch June 18, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/M type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants