Open Bug 1410879 Opened 8 years ago Updated 3 years ago

Permission Denied: /var/lib/snapd/desktop/dconf/profile/user

Categories

(Toolkit :: Startup and Profile System, defect)

58 Branch
Unspecified
Linux
defect

Tracking

()

Tracking Status
firefox66 --- affected

People

(Reporter: wtds.trabalho, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20171021114953 Steps to reproduce: 1- Open browser from terminal (Linux) 2- See every open this error: (/usr/lib/firefox-trunk/firefox-trunk:8556): dconf-WARNING **: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permissão negada Actual results: Error at terminal: (/usr/lib/firefox-trunk/firefox-trunk:8556): dconf-WARNING **: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permissão negada Expected results: No permission Denied error.
Component: Untriaged → Startup and Profile System
OS: Unspecified → Linux
Product: Firefox → Toolkit
I was able to reproduce this: 1. Open the Browser Console 2. Go to https://trac.torproject.org/projects/tor/login 3. Click into the password field For each new tab i do this, i see: (/path/to/firefox-60.1.0esr/firefox:11730): dconf-WARNING : 18:09:31.042: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied
(In reply to traumschuleriebau from comment #1) > I was able to reproduce this: > > 1. Open the Browser Console > > 2. Go to https://trac.torproject.org/projects/tor/login > > 3. Click into the password field > > For each new tab i do this, i see: > > (/path/to/firefox-60.1.0esr/firefox:11730): dconf-WARNING : 18:09:31.042: > Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied I'm still have this issue.
Flags: needinfo?(kohei.yoshino)
(I just moved the bug to the right component. No idea what’s happening.)
Flags: needinfo?(kohei.yoshino)

I have noticed this today for the first time and was able to reproduce it on many web-sites (every site with a password field) even on gmail.com. It seems to be related to the password management.

I did some further investigation to clear it.

Reproduce it:

  1. Start linux terminal.

  2. Run firefox

  3. Open any website with a login/authentication form. E.g. open gmail.com

  4. You don't need to enter a username, just go to the password field (gmail.com requires a username first)

  5. Upon entrance to the password field this error appears in the console.

(/usr/lib/firefox/firefox:1564): dconf-WARNING **: 22:53:26.328: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied

  1. The error will appear only once per tab, you have to open the same url in a new tab to force it to appear again.

It occurs even in a newly created and empty firefox profile with default configuration for a new profile.

I think it also occurs on websites that have hidden password fields.

To me it seems suspicious that firefox tries to access a file in snapd when it is not installed via snap.

(In reply to ajanovski from comment #4)

Forgot to mention that I use Ubuntu 19.04 and firefox from the official Ubuntu repositories:

firefox: Installed: 66.0.3+build1-0ubuntu1

also in Firefox Developer Edition v 69:

(/opt/firefox-developer-edition/firefox-bin:16340): dconf-WARNING **: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied

On ubuntu systems, the environment variable XDG_DATA_DIRS contains the path "/var/lib/snapd/desktop". i guess that's why Firefox is trying to read it.

I know this is an old thread, but I just saw this because my ~/.xsession-errors file filled up my HDD (67 GB logfile! O.O)
Quite fresh setup on Xubuntu 18.04 with Firefox v77.0.1 (from default Ubuntu repositories).

Seems like an Ubuntu issue, but I couldn't find a corresponding issue report on Launchpad. Does anyone know if it has been reported there already?

I'd be grateful for any information about how to proceed with this :)

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.