Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Remember Download lastDir (real file system directory)

  • 5 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 jonzn4SUSE

more options

Hi, Downloading files to a system directory (Linux) such as /home/me/doc/here /home/me/doc/there Have Ask me where to save files checked.

But lastDir is not a real directory I can navigate, such as /run/user/1000/doc/3dcccd48

This causes the user needs to navigate sometimes very long system directory tree for each successive file download.

In about:config I set:

 browser.download.lastDir 
 browser.download.lastDir.savePerSite	false	
 browser.open.lastDir

But every time these are obfuscated to something like: /run/user/1000/doc/3dcccd48

This introduces about 10 user interactions with mouse/keyboard for each file I download in succession.

How do I get FF to stop obfuscating real system directories for "lastDir"

Really really appreciate the help :)

Hi, Downloading files to a system directory (Linux) such as /home/me/doc/here /home/me/doc/there Have Ask me where to save files checked. But lastDir is not a real directory I can navigate, such as /run/user/1000/doc/3dcccd48 This causes the user needs to navigate sometimes very long system directory tree for each successive file download. In about:config I set: browser.download.lastDir browser.download.lastDir.savePerSite false browser.open.lastDir But every time these are obfuscated to something like: /run/user/1000/doc/3dcccd48 This introduces about 10 user interactions with mouse/keyboard for each file I download in succession. How do I get FF to stop obfuscating real system directories for "lastDir" Really really appreciate the help :)

所有回覆 (5)

more options

What OS? Try downloading Firefox from Mozilla, run it from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

more options

I just downloaded 10 items in my distro version of Firefox and I also run another copy of the same version from Mozilla. They both had no issue downloading all files to the same folder.

由 jonzn4SUSE 於 修改

more options

Do you have the same issues under another user account on the same computer?

more options

Hi Jon!

I'm running Ubuntu 22.04 LTS with the platform recommended Firefox Snap.

I just read the similar thread where you were also helping: https://support.mozilla.org/en-US/questions/1364224

and this gave me some ideas to try... and found a workaround!

I tried downloading and running different versions and swapping profiles.

First of all when using the latest tar.bz2 download of FF with a blank profile everything works as expected.

Two undesired security enhancements are no longer present:

1) obfuscated lastDir causing inability to remember the real location of last downloaded file 2) blocked file:/// URI browsing

These two things appear related

I am currently running the latest tar.bz2 using my most recent profile from the Snap tree but with a prefs.js from just before I started using the Snap. This gave me all my history, open tabs etc. but avoids those two undesired features of the Snap.

If I load the above working Profile from the Snap binaries the undesired enhancements come back: lastDir obfuscated and no local file:/// browsing.

So it is something in the Snap, which I will no longer use for now.

Happy to run the tar.bz2 any day :)

-Steve

more options

I would suggest using sync to get your data to the new version of Firefox. You can then send your open tabs from the snap version to the Mozilla version. see screenshot