Skip to content

Set permissions on copied files to 0644#6965

Merged
gdttn merged 1 commit into
masterfrom
gdttn-patch-1
Apr 17, 2026
Merged

Set permissions on copied files to 0644#6965
gdttn merged 1 commit into
masterfrom
gdttn-patch-1

Conversation

@gdttn

@gdttn gdttn commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

As requested. I've made an explicit assumption that none of the files should be directly executable on non-Windows systems (I'm not actually 100% sure why they're included so excuse my ignorance). (I've also assumed that all platforms except windows actually support os.chmod).

Related Issues
This pull-request fixes issue #6782

This fixes #6782. I've made an explicit assumption that none of the files should be _directly_ executable on non-Windows systems (I'm not actually 100% sure why they're included so excuse my ignorance).
@gdttn gdttn requested a review from a team as a code owner April 17, 2026 09:48
@omichel

omichel commented Apr 17, 2026

Copy link
Copy Markdown
Member

@copilot: can you review this PR?

Copilot AI commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

@copilot: can you review this PR?

I reviewed the PR and the change in populate_xc16_directory.py looks correct: copied files are now explicitly set to 0644 on non-Windows platforms, while Windows behavior is unchanged. I also ran python3 -m py_compile on the script successfully. Reviewed commit: 2df9628.

Copilot AI requested a review from omichel April 17, 2026 09:55

@omichel omichel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you.

@gdttn gdttn merged commit bad469f into master Apr 17, 2026
21 checks passed
@gdttn gdttn deleted the gdttn-patch-1 branch April 17, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants