Azure/azure-functions-core-tools

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

开放

#3,252 创建于 2023年1月21日

 (3 条评论) (0 个反应) (0 位负责人)C# (491 个派生)auto 404
area: build/releasebuggood first issueplatform: linux

仓库指标

星标
 (1,456 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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!

贡献者指南