-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snap installed trippy on Ubuntu get permission denied while accessing config file #1058
Comments
Thanks for the report @helixzz. I suspect trippy needs to connect to the if you connect it manually (as described in https://snapcraft.io/docs/home-interface) does that fix the issue? if so I will ask for that interface to be added to the snap for the nest version. |
Thanks for your reply! I've tried |
I am able to reproduce the issue on a ubuntu instance. I added the I switched to the
I connected the (now available)
But it still does not work:
The same message is given for files that do not exist:
I tried from
Aside, note that I used a non-hidden file and dirs above as the I'll post a question on the snapcraft forum as i'm not a regular snap user or expert and the solution is not obvious. |
Added #1062 to allow running via Edit: this does not help, |
@helixzz if you are following the thread on the snapcraft forum, there is a solution to allow trippy (or any snap really) to read files from $HOME (that is blocked by default). The catch is it doesn't support hidden files or directories and so you'd need to place your The snap config change to allow this will be included in 0.10.0 release of Trippy (due very soon). |
Sorry was travelling I knew about this limitation of not being able to access files in folders that start with a dot because Firefox which is installed via Snap by default now on Ubuntu also has the same issue. |
I'm awaiting the change to be approved by the snap folk and without that the |
@helixzz Trippy 0.10.0 has finally been released on snap and supports the ability to read (non-hidden) configuration files. |
Describe the bug
Just installed trippy from snap store using command
snap install trippy
. It works fine with default config. If I want to customize anything (for default behavior) it seems the only way is to create a config file (e.g.trippy.toml
). However, with the snap installed version of trippy, the trippy binary seems can't read the config file under my $HOME directory, even if the dir and file permissions are set to 777.To Reproduce
Expected behavior
trippy reads the config file and perform its configuration correctly.
Environment Info
The text was updated successfully, but these errors were encountered: