[Bug 1884299] Re: Snaps don't run with NFS home on AutoFS

Oleg Davydov 1884299 at bugs.launchpad.net
Sat Nov 12 11:48:24 UTC 2022


I ran into a similar issue when trying to use sshfs-mounted profile for
firefox.

My setup:

$ mkdir .remote
$ sshfs <remote> .remote -o idmap=user
$ ln -s .remote/snap

So now /home/ubuntu/snap is a symlink to a directory
/home/ubuntu/.remote/snap. When trying to run firefox, it fails with:

$ firefox
cannot create user data directory: /home/ubuntu/snap/firefox/1232: Not a directory

Which is confusing, as /home/ubuntu/snap/firefox/1232 is a directory.
Trying to strace what's going on (details in
https://pastebin.com/gbeHV8L1) I found out that firefox (or snap) is
confused that snap is a symlink to directory, not a directory by itself
(and this limitation doesn't makes sense to me, looks like just
implementation flaw of creating user directory).

Not sure if this is related to the above, but experience is similar.

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1884299

Title:
  Snaps don't run with NFS home on AutoFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1884299/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list