Azure/azure-functions-core-tools

`func`, `gozip`, (maybe more) are missing executable permissions in released zip

Open

#3,252 opened on Jan 21, 2023

 (3 comments) (0 reactions) (0 assignees)C# (491 forks)auto 404
area: build/releasebuggood first issueplatform: linux

Repository metrics

Stars
 (1,456 stars)
PR merge metrics
 (PR metrics pending)

Description

reproduction:

wget https://github.com/Azure/azure-functions-core-tools/releases/download/4.0.4915/Azure.Functions.Cli.linux-x64.4.0.4915.zip
unzip *.zip
./func

output:

$ ...
$ ./func
bash: ./func: Permission denied

workaround is pretty simple, just chmod +x func gozip -- though the zip should have the proper permissions to start with!

Contributor guide