firefox won't start (Permission denied) if $PWD is a NFS share in /mnt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This started with a https:/
** Description
I have some NFS shares mounted in /mnt, if I try and run a snap with those directories as $PWD I get permission denied errors
this appears to occur with all snaps (wethr, firefox, chromium tested)
** Actual Outcome
guiverc@
cannot open path of the current working directory: Permission denied
guiverc@
cannot open path of the current working directory: Permission denied
guiverc@
OP on askubuntu got same from `firefox "www.duckduckgo
** Expected outcome
If I run those apps from $HOME they'll start normally, and I can access the directory without issue once chromium/firefox has started (for upload of pics etc). I'd expect them to start even if my $PWD is a network NFS share.
** Complication in my own setup?
guiverc@
touch: cannot touch 'mail/blah': Read-only file system
I access those directories via a different location when I want write access; but I have a RO mount just so I can access them in browsers (chromium/
My fstab entry was (NOTE: RO)
de2900:/home/shared /mnt/de2900 nfs ro,rsize=
To explore that I switched that fstab entry to be RW, and re-mounted...
guiverc@
guiverc@
cannot open path of the current working directory: Permission denied
guiverc@
guiverc@
so (my default) RO setup likely isn't an issue (I can create file 'blah' so have write access now but firefox still fails to start, so I remove 'blah.
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: snapd 2.57.1+22.10.1
ProcVersionSign
Uname: Linux 5.19.0-15-generic x86_64
ApportVersion: 2.23.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: LXQt
Date: Fri Sep 9 10:12:56 2022
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-11-16 (1757 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
Thanks Chris for reporting this bug! I'll mark as a duplicate of https:/ /bugs.launchpad .net/snapd/ +bug/1973321, even though that bug was about SSHfs originally.