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

fix file/directory permissions #44

Closed
szkiba opened this issue Aug 30, 2024 · 0 comments · Fixed by #45
Closed

fix file/directory permissions #44

szkiba opened this issue Aug 30, 2024 · 0 comments · Fixed by #45
Assignees

Comments

@szkiba
Copy link
Collaborator

szkiba commented Aug 30, 2024

golangci-lint forces the file permission to be 0o600 and the directory permission to be 0o750. When k6registry runs as a GitHub action, it runs as the root user, so accessing the generated files from the rest of the workflow is problematic.

In the case of generated files, the permission should be set to 0o644, in the case of a direcotry to 0o755.


grafana/k6-ext-tooling#34

@szkiba szkiba self-assigned this Aug 30, 2024
@szkiba szkiba linked a pull request Aug 30, 2024 that will close this issue
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