Skip to content

Universal Packages: Call chmod on executable when extracting from zip on Unix-based OS#625

Merged
dfederm merged 1 commit intomainfrom
upack-chmod
May 14, 2025
Merged

Universal Packages: Call chmod on executable when extracting from zip on Unix-based OS#625
dfederm merged 1 commit intomainfrom
upack-chmod

Conversation

@dfederm
Copy link
Member

@dfederm dfederm commented May 14, 2025

Fixes errors like this on Linux and Mac:

System.ComponentModel.Win32Exception (13): An error occurred trying to start process '/home/vsts/work/1/s/~/.artifacttool/0.2.350/linux/x86_64/artifacttool' with working directory '/home/vsts/work/1/s'. Permission denied

This is because executables extracted from zip files do not retain the execute bit on Unix-based systems.

AndyGerlicher
AndyGerlicher previously approved these changes May 14, 2025
@dfederm dfederm merged commit c63daff into main May 14, 2025
5 checks passed
@dfederm dfederm deleted the upack-chmod branch May 14, 2025 17:53
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.

2 participants