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

Fixed binary permissions #361

Merged
merged 2 commits into from May 23, 2020
Merged

Fixed binary permissions #361

merged 2 commits into from May 23, 2020

Conversation

ADRFranklin
Copy link
Collaborator

@ADRFranklin ADRFranklin commented May 21, 2020

closes #158

This fixes the issue with some binaries not having the correct permissions inside the archive, they are extracted from. My testing with Windows seems to have no effect on the permissions, so I left it out as a check, and only specifically targeted Linux/Mac.

I was able to successfully run the binaries after this change, so I can safely say this is fixed. Though this fix was not exactly described in the issue #158 I think it was related to it's use anyway.

@Southclaws
Copy link
Owner

Yeah chmod does nothing on Windows. For some silly reason, the Go language team decided to base their "cross platform" API on Linux-specific naming and the Unix model of filesystems (among other things). https://golang.org/src/os/file.go?s=15296:15340#L500

@ADRFranklin ADRFranklin merged commit f1b39a1 into dev May 23, 2020
@ADRFranklin ADRFranklin deleted the issue-158 branch May 23, 2020 21:20
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.

None yet

2 participants