Azure / Azure/azure-functions-core-tools
`func`, `gozip`, (maybe more) are missing executable permissions in released zip
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
reproduction:
```bash
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:
```console
$ ...
$ ./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
Research direction
Reproduce the problem with the Azure.Functions.Cli.linux-x64.4.0.4915.zip release, unzip it, and inspect the executable permissions on func and gozip. Trace how the Linux x64 release archive is assembled; done means ./func starts from a freshly unzipped archive without a manual chmod +x workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100