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!

貢獻者指南