How do I set permissions for a binary executable artifact?

I am trying to use Artifacts.jl to download a binary executable as part of a package I am developing. It seems like the executable file is downloading just fine when I ] add <package_name>, but after installation the file does not have execution permissions. Is there a way to set the permissions during installation of the package?

You shouldn’t do that, because that’d change the tree hash of the artifact. It’d be better to understand why executable permission isn’t being set correctly. Is that happening only on Windows? If so, with what version of Julia? If so, it might be Permissions issues with arftifcats on Windows in 1.10-rc1 (and betas) - Access is denied · Issue #52272 · JuliaLang/julia · GitHub, but no one tracked down the issue yet, and someone doing that would be welcome.