Azure/azure-functions-core-tools

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

Aperta

#3252 aperta il 21 gen 2023

 (3 commenti) (0 reazioni) (0 assegnatari)C# (491 fork)auto 404
area: build/releasebuggood first issueplatform: linux

Metriche repository

Star
 (1456 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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!

Guida contributor