guilhem / guilhem/bump

Snap Install Permission Issues

Open
#7 5 comments 0 reactions 1 assignee Claimed by @guilhem View on GitHub
Dominant language
Go
Stars
26
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When I install via Snap (v0.2) the program throws permission issues trying to bump a repository

Example:

```
$ git tag
v1.0.0

$ bump minor
ERRO[0000] git new error="can't open git: open .../.git/packed-refs: permission denied"

$ ls -la .git/packed-refs
-rw-rw-r-- 1 user user 1725 Jul 7 16:16 .git/packed-refs

$ chmod 777 .git/packed-refs

$ .git/packed-refs
-rwxrwxrwx 1 user user 1725 Jul 7 16:16 .git/packed-refs

$ bump minor
ERRO[0000] git new error="can't open git: open .../.git/packed-refs: permission denied"
```

Using chmod -R on the entire git directory with 777 perms did not resolve the issue, and the user was correct across all files.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.