搜尋 Mozilla 技術支援網站

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

了解更多

How do I override the temporary download location?

  • 1 回覆
  • 1 有這個問題
  • 29 次檢視
  • 最近回覆由 cor-el

more options

With Firefox 37.0 on Ubuntu 14.10 (and the built-in 36.0.something), if I download anything that has an associated application, like a ZIP file, and click "Open in Archiver" (or any other application), the downloaded file is stored in /tmp rather than in the configured Download directory.

I have an encrypted home directory, but this behaviour from Firefox means that temporary downloads are stored in the unencrypted /tmp which filenames are also browseable by other users on the computer.

I consider this a security breach, (Downloads that are opened like this may be Word documents with private information), so how can I reconfigure Firefox to always save all downloads to ~/Downloads rather than /tmp?

(Yes, I know I can use tmpfs and encrypted swap)

With Firefox 37.0 on Ubuntu 14.10 (and the built-in 36.0.something), if I download anything that has an associated application, like a ZIP file, and click "Open in Archiver" (or any other application), the downloaded file is stored in /tmp rather than in the configured Download directory. I have an encrypted home directory, but this behaviour from Firefox means that temporary downloads are stored in the unencrypted /tmp which filenames are also browseable by other users on the computer. I consider this a security breach, (Downloads that are opened like this may be Word documents with private information), so how can I reconfigure Firefox to always save all downloads to ~/Downloads rather than /tmp? (Yes, I know I can use tmpfs and encrypted swap)

所有回覆 (1)

more options

That is how it works if you open a file in an external application. In that case the file is saved to the temp folder. You would have to save the file first and then open the downloaded file to avoid saving the file to the temp folder.