The weird thing is, if snap sandboxing was responsible, why did
Galen's snap-based firefox on the same release not do the same thing.
Also, why can I see the directory contents and click on the file. It
just doesn't get passed to the uploader. There is something opaque
going on.

-- 
Russell Senior
[email protected]

On Tue, Jun 25, 2024 at 4:42 PM Tomas Kuchta
<[email protected]> wrote:
>
> I had the same issue with Ubuntu snap based applications not having access
> to this or that file/directory/extension because snap uses separate
> directory structure and/or permissions.
>
> My solution was to instal firefox as .deb from mozilla ppa and change the
> apt priorities, so that the next update wouldn't put back the snap.package
> over the .deb. Normal (as not snap) packages just use your filesystem with
> its permissions as is.
>
> I guess that you could try to figure out snap packaging and .... I
> honestly, do not care about snap, other than get it out of my way.
>
> Hope that helps,
> Tomas
>
> On Tue, Jun 25, 2024, 16:04 Russell Senior <[email protected]>
> wrote:
>
> > Hi,
> >
> > I had a slightly bizarre experience yesterday with Firefox. I was
> > using a web form to upload firmware to a router. The classic "Browse"
> > button allowed me to navigate my local environment for a file to
> > upload and "Select" the file. Because the file was actually coming
> > from another machine, I had scp'd it to my local /tmp directory to
> > make it available to my browser. So, I navigate to /tmp/, see the
> > intended file, and click "Select" in the file browser. But then, the
> > file isn't actually selected, and there is nothing to upload when I
> > click the Upload button in the web form.
> >
> > I thought to myself, "wait, what?". So, I copy the file to my
> > ~/Downloads directory and try again and it works. I try in a private
> > browser window. I try in Firefox's "Safe mode" (or "Troubleshoot
> > Mode"). Still, it works from ~/Downloads but it does not work from
> > /tmp or /srv/randomdir. I checked ownership/permissions of the file
> > and the directory.
> >
> > This is on a fairly recent install of Ubuntu 22.04, with Firefox
> > 127.0.1, and the default Snap.
> >
> > Does anyone have insight to this odd behavior?
> >
> > --
> > Russell Senior
> > [email protected]
> >

Reply via email to