Snap Install Permission Issues
TheQueenIsDead opened this issue · 5 comments
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.
Hi @TheQueenIsDead
bump snap don't have an auto-connect on home
(for the moment).
You have to connect it yourself after installation:
snap connect bump:home :home
Can you tell me if it's ok?
Hi @TheQueenIsDead bump snap don't have an auto-connect on
home
(for the moment).You have to connect it yourself after installation:
snap connect bump:home :home
Can you tell me if it's ok?
This don't work for now, plug wasn't correctly pushed
Hi @TheQueenIsDead bump snap don't have an auto-connect on
home
(for the moment).You have to connect it yourself after installation:
snap connect bump:home :home
Can you tell me if it's ok?
error: snap "bump" has no plug named "home"
You may need to a home
plug on snapcraft.yaml
file. I would open a PR for it, but could not find the appropriate file. How the Snap package is being built? There's a separate snapcraft.yaml
file or repository for it? Thank you @guilhem .
Potential content of the file:
plugs:
home:
interface: home
I will try :)
Thanks @MiguelAxcar