Skip to content

Set executable permissions at build time instead of runtime#109

Merged
embetten merged 2 commits intomasterfrom
users/embetten/fix-chmod-issue-99
Apr 2, 2026
Merged

Set executable permissions at build time instead of runtime#109
embetten merged 2 commits intomasterfrom
users/embetten/fix-chmod-issue-99

Conversation

@embetten
Copy link
Copy Markdown
Contributor

@embetten embetten commented Apr 1, 2026

Move os.chmod of CredentialProvider.Microsoft binary from plugin.py (runtime) to setup.py (build time). This ensures the binary is already executable when packaged into the wheel, so restricted users who cannot chmod files they don't own no longer encounter permission errors.

Fixes #99

Move os.chmod of CredentialProvider.Microsoft binary from plugin.py
(runtime) to setup.py (build time). This ensures the binary is already
executable when packaged into the wheel, so restricted users who cannot
chmod files they don't own no longer encounter permission errors.

Fixes #99
@embetten embetten merged commit 6d0cef3 into master Apr 2, 2026
18 checks passed
@embetten embetten deleted the users/embetten/fix-chmod-issue-99 branch April 2, 2026 16:05
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.

Check tool_path folder permission before running os.chmod(tool_path, 0o755)

3 participants