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

cmd/clef: don't check file permissions on windows, closes #20123 #22251

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Jan 29, 2021

Fixes an issue with file permissions on windows. I'm not a "windows" guy, and don't know what the proper way would be to ensure correct permissions, so this PR just disables the check.
I've searched and didn't find any obvious results on what the corresponding check for windows would be (pointers appreciated).

@fjl
Copy link
Contributor

fjl commented Jan 29, 2021

No need to use build tags for this, just make the check conditional using runtime.GOOS == "windows"

@holiman
Copy link
Contributor Author

holiman commented Jan 29, 2021

No need to use build tags for this, just make the check conditional using runtime.GOOS == "windows"

Ah sweet, thanks!

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.

Failed to open master .. masterseed.json.. has insecure file permissions
2 participants