为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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