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 #45

Merged
merged 1 commit into from
Aug 30, 2024
Merged

fix: file/directory permissions #45

merged 1 commit into from
Aug 30, 2024

Conversation

szkiba
Copy link
Collaborator

@szkiba 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, now the permission set to 0o644, in the case of a direcotry to 0o755.

@szkiba szkiba requested a review from a team as a code owner August 30, 2024 14:44
@szkiba szkiba requested review from pablochacin and removed request for a team August 30, 2024 14:44
@szkiba szkiba linked an issue Aug 30, 2024 that may be closed by this pull request
@szkiba szkiba removed the request for review from pablochacin August 30, 2024 14:44
@szkiba szkiba merged commit 7d8463b into main Aug 30, 2024
5 checks passed
@szkiba szkiba deleted the 44-fix-permissions branch August 30, 2024 14:49
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.

fix file/directory permissions
1 participant