On 31/05/2022 23.59, stan via users wrote:
On Tue, 31 May 2022 22:52:16 +1000
Eyal Lebedinsky <fedora(a)eyal.emu.id.au> wrote:
> firefox 100.0.2
>
> I set up a temp dir in about:config
> browser.cache.disk.parent_directory /data/Firefox_temp
> At no point did I see any activity there but if I empty that
> directory then FF creates it on launch, so it knows about it.
You are setting up a personal directory under /? What permissions does
it have? Are you running SELinux, what is its context? Wouldn't this
be more appropriate in your home directory?
I also don't find that setting in my about:config, in the system
firefox or nightly. How are you creating it?
> Here is what I do:
>
> Open the URL
>
http://www.gnu.org/software/gzip/manual/
> Click on
> PDF file (304K bytes)
> A popup asks "What should Firefox do with this file?"
> - I have "always ask" set for this file type in
> Settings/General/Applications at this point I see a new file in my
> home directory -rw------- 1 eyal eyal 308839 May 14 17:33
> _qBdbX0t.pdf.part I now select
> Open with xpdf
> and click
> OK
> The above random file disappeared and another file appears
> -rw-r--r-- 1 eyal eyal 308839 May 14 17:33 gzip.pdf
> I now close firefox and this file remains.
> I restart FF and it is still there.
>
> On another machine the file is created in ~/Download.
>
> How do I get FF to use the nominated directory?
When I use the settings you are using, the file appears in the download
directory I have selected in edit -> settings. It remains after I have
viewed it, which I think is a questionable action. When I have the
setting at open with firefox, the file doesn't appear anywhere, so it
is probably in some temporary cache file that goes away when the tab is
closed.
So I guess the answer to your question would be to use edit -> settings
-> general -> Dowloads to set /data/firefox_temp as your download
directory.
Strangely this worked, even though this option is deselected:
[ ] Save files to /data/Firefox_temp
[*] Always ask you where to save files
Somehow FF uses this disabled setting, and even before I choose between "open
with" and "save file".
--
Eyal Lebedinsky (fedora(a)eyal.emu.id.au)