Azure/azure-functions-core-tools

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

Offen

#3.252 geöffnet am 21.01.2023

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (491 Forks)auto 404
area: build/releasebuggood first issueplatform: linux

Repository-Metriken

Stars
 (1.456 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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