Page MenuHomeSolus

Brave Snap Permissions Issue
Closed, DuplicatePublic

Description

I've been dealing with an intermittent bug where my Brave snap seems to lose permissions and can't open. I can fix it by reinstalling Brave, so I've been lazy about reporting this one.

I'm not sure if this is a Solus issue, a Snap issue, or a Brave issue. If it's Brave or Snap's fault, I'll hassle them.

Here is the error output:

main.go:192: cannot change mount namespace of snap "brave" according to change mount (/var/lib/snapd/hostfs/usr/share/fonts /usr/share/fonts none bind,ro 0 0): permission denied
main.go:192: cannot change mount namespace of snap "brave" according to change mount (/var/lib/snapd/hostfs/var/cache/fontconfig /var/cache/fontconfig none bind,ro 0 0): permission denied
cannot update snap namespace: cannot drop supplementary groups: operation not permitted

I am on Solus MATE, and I ran updates yesterday. Kernel is 4.9.124-106.lts. I am willing to provide more OS and hardware details if needed.

Event Timeline

mati865 added a subscriber: mati865.Sep 6 2018, 6:51 PM

Looks similar to https://dev.solus-project.com/T6499.
Run this command and see if it helps:

sudo usysconf run -f

Additionally there's no real reason to use the brave snap, we have brave in the repo. If it needs updated, I can do so.

I wasn't aware that it's in the repo now. Will probably switch.

Also, Mati's solution worked.

I was experiencing this bug in the Spotify snap. Command from above fixed the problem