this is what happens when I launch my Firefox with snapd
on Candidate branch
$ firefox
2024/10/10 10:51:20.112535 cmd_run.go:1276: WARNING: cannot create user data directory: cannot get the current user: user: unknown userid 10715
2024/10/10 10:51:20.112564 cmd_run.go:1281: WARNING: cannot copy user Xauthority file: cannot get the current user: user: unknown userid 10715
2024/10/10 10:51:20.112569 cmd_run.go:1285: WARNING: cannot start document portal: cannot get the current user: user: unknown userid 10715
mkdir: cannot create directory ‘/.config’: Permission denied
chmod: cannot access '/.config': No such file or directory
mkdir: cannot create directory ‘/.local’: Permission denied
mkdir: cannot create directory ‘/.cache’: Permission denied
/snap/firefox/5091/gnome-platform/command-chain/desktop-launch: line 310: 7536 Segmentation fault (core dumped) xdg-user-dirs-update
mkdir: cannot create directory ‘/.config’: Permission denied
/snap/firefox/5091/gnome-platform/command-chain/desktop-launch: line 424: /.config/fontconfig/fonts.conf: No such file or directory
ln: failed to create symbolic link '/.local/share': No such file or directory
ln: failed to create symbolic link '/.themes': Permission denied
/snap/firefox/5091/gnome-platform/command-chain/desktop-launch: line 518: /.cache/gdk-pixbuf-loaders.cache: No such file or directory
mkdir: cannot create directory ‘/.cache’: Permission denied
mkdir: cannot create directory ‘/.local’: Permission denied
ln: target '/.cache/gio-modules': No such file or directory
mkdir: cannot create directory ‘/.local’: Permission denied
Unable to open directory /.cache/gio-modules: Error opening directory “/.cache/gio-modules”: No such file or directory
mkdir: cannot create directory ‘/.config’: Permission denied
ln: failed to create symbolic link '/.config/gtk-3.0/settings.ini': No such file or directory
mkdir: cannot create directory ‘/.config’: Permission denied
ln: failed to create symbolic link '/.config/gtk-3.0/gtk.css': No such file or directory
mkdir: cannot create directory ‘/.config’: Permission denied
ln: failed to create symbolic link '/.config/gtk-3.0/bookmarks': No such file or directory
mkdir: cannot create directory ‘/.config’: Permission denied
ln: failed to create symbolic link '/.config/gtk-2.0/gtkfilechooser.ini': No such file or directory
mkdir: cannot create directory ‘/.config’: Permission denied
ln: failed to create symbolic link '/.config/ibus': No such file or directory
mkdir: cannot create directory ‘/.cache’: Permission denied
ln: target '/.cache/immodules': No such file or directory
/snap/firefox/5091/gnome-platform/command-chain/desktop-launch: line 606: /.cache/immodules/immodules.cache: No such file or directory
/snap/firefox/5091/gnome-platform/command-chain/desktop-launch: line 616: /.last_revision: Permission denied
Reverting to stable branch fixed the issue.
My workplace uses Active Directory for our account management.
And I can’t find the place to report issues about snapd on GitHub