This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
🐛 chmod should be performed at pkg creation time instead of with postinstall hook #3799
Closed
1 task done
Labels
Environment information
What happened?
postinstall
scripts in my.npmrc
file, to avoid/mitigate potential security issues.rome
, I found it was failing. The reason was that the binary being called was not executable. After digging a bit, I discovered that this was happening because its "executable" flag depended on apostinstall
hook being executed.Expected result
The packaged binary should be executable from the very beginning. This can be done at packaging time, removing the need to call any
postinstall
hook.Code of Conduct
The text was updated successfully, but these errors were encountered: