LinuxSuRen / LinuxSuRen/http-downloader

Error: failed with fetching home config: fork/exec /usr/bin/git: permission denied

Open
#30 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted kind/bug
Dominant language
Go
Stars
48
Forks
16
PR merge metrics
No merged PRs in 30d

Description

When I run `hd` in a new environment. It panic

# Version
```
hd version
Version: 0.0.16
Last Commit: 2ec75bb
Build Date: 2021-02-05T14:35:28Z
```

# OS environment:
```
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.10
Release: 20.10
Codename: groovy
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the panic when running `hd` in a new Ubuntu 20.10 environment, using the reported version and the `/usr/bin/git` permission error as the starting point. Trace the home-config fetch and Git invocation, then verify that the command no longer panics and handles this failure appropriately.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.