ADM-ZIP v0.4.14 library does not respect file permissions in addFile() method (probably a bug). The bootstrap binary file ends up with no x permission. Updating to ADM-ZIP v0.5.1 fixes the problem.
🐛 Bug description
If you run npx serverless invoke local --function <function_name> with dockerless: true, it fails with Error: fork/exec /var/task/bootstrap: permission denied.
🤔 Expected Behavior
Local invoke should succeed for both dockerless: true/false.
ADM-ZIP v0.4.14 library does not respect file permissions in addFile() method (probably a bug). The bootstrap binary file ends up with no x permission. Updating to ADM-ZIP v0.5.1 fixes the problem.
🐛 Bug description
If you run
npx serverless invoke local --function <function_name>
with dockerless: true, it fails with Error: fork/exec /var/task/bootstrap: permission denied.🤔 Expected Behavior
Local invoke should succeed for both dockerless: true/false.
👟 Steps to reproduce
Run e.g. minimal echo application with dockerless: true.
🌍 Your environment
Reproduced on Manjaro KDE 20.2 (Arch Linux) and macOS 11.0.
serverless version: 2.15.0 rust-plugin version: 0.3.8