#943482 firefox-esr: when launched in console user gets a dconf-WARNING about permission denied

Package:
firefox-esr
Source:
firefox-esr
Description:
Mozilla Firefox web browser - Extended Support Release (ESR)
Submitter:
"Jason L. Quinn"
Date:
2025-11-08 15:49:02 UTC
Severity:
minor
#943482#5
Date:
2019-10-25 10:52:33 UTC
From:
To:
Dear Maintainer,

If the new Firefox 68.2.0esr is started from the console, the user gets
warnings like

(/usr/lib/firefox-esr/firefox-esr:29777): dconf-WARNING **: 18:38:28.296:
Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission
denied

Not sure if this problem is with the Firefox package or the flatpak package.

#943482#10
Date:
2025-11-08 15:39:26 UTC
From:
To:
Hi.

Le Fri, Oct 25, 2019 at 06:52:33PM +0800, Jason L. Quinn a écrit :

I've been getting similar errors, reported in syslog, like:
2025-11-08T15:55:13.335441+01:00 pcpapa firefox-esr.desktop[56398]: [Child 56398, Main Thread] WARNING: Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission non accordée: 'glib warning', file toolkit/xre/nsSigHandlers.cpp:201
2025-11-08T15:55:13.337000+01:00 pcpapa firefox-esr.desktop[56398]: (/usr/lib/firefox-esr/firefox-esr:56398): dconf-WARNING **: 15:55:13.335: Unable to open /var/lib/flatpak/exports/share/dconf/profile/user: Permission non accordée

Obviously, my current version of Firefox is 140.4.0esr...

I guess this isn't directly related to Firefox, but to some GTK-related dependency.

FWIW, https://forums.linuxmint.com/viewtopic.php?p=1693210#p1693210 suggests that this may be related to the value of XDG_DATA_DIRS.

Hence:

$ echo $XDG_DATA_DIRS
/usr/share/gnome:/home/olivier/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop

and:
$ ls -l /var/lib/flatpak/exports/share/
total 20
drwxr-xr-x 2 root root 4096  8 nov.  08:49 applications
drwxr-xr-x 3 root root 4096  4 sept.  2023 dbus-1
drwxr-xr-x 3 root root 4096  4 sept.  2023 icons
drwxr-xr-x 2 root root 4096 11 oct.  11:16 metainfo
drwxr-xr-x 4 root root 4096 11 oct.  11:16 mime

So maybe tweaking XDG_DATA_DIRS would help.

Best regards,