[Alpine-info] Firefox, snap and /tmp
Andrew C Aitchison via Alpine-info
alpine-info at u.washington.edu
Tue Jun 4 12:59:46 PDT 2024
On Tue, 4 Jun 2024, Carlos E. R. via Alpine-info wrote:
> I have read it several times and I still have no idea what
> the problem is.
>
> Why can you not read html files in /tmp, who impedes it and
> why?
The Firefox shipped with Ubuntu cannot read /tmp because it is a snap,
ie packaged inside a secure container. The container deliberately only
has access to a restricted part of the file-system, which cannot be
changed without rebuilding the whole package (I think you can mount
things in these places).
If you set TMPDIR (or one of the related variables that Eduardo
mentioned) alpine will look in that directory instead. This directory
must already exist. Set it to something inside your home directory,
or (I think) to /tmp/user/<uid> then firefox should be able to read
the file. <uid> is the first number against your username in the
password file.
This is too much of a fight for me, so I use the Firefox built for
Ubuntu by Mozilla instead.
--
Andrew C. Aitchison Kendal, UK
andrew at aitchison.me.uk
More information about the Alpine-info
mailing list