X
Tap here to go to the mobile version of the site.

Support Forum

How do I override the temporary download location?

Posted

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)

Additional System Details

Installed Plug-ins

  • DivX Web Player version 1.4.0.233
  • The Videos 3.10.1 plugin handles video and audio streams.
  • Shockwave Flash 11.2 r202
  • This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.

Application

  • Firefox 37.0
  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
  • Support URL: https://support.mozilla.org/1/firefox/37.0/Linux/en-US/

Extensions

  • LastPass 3.1.92 (support@lastpass.com)
  • Ubuntu Firefox Modifications 3.0 (ubufox@ubuntu.com) (Inactive)
  • Ubuntu Online Accounts 0.5 (online-accounts@lists.launchpad.net) (Inactive)
  • Unity Desktop Integration 3.0.2 (webapps-team@lists.launchpad.net) (Inactive)
  • Unity Websites integration 2014.07.01.beta ({2e1445b0-2682-11e1-bfc2-0800200c9a66}) (Inactive)
  • Zotero 4.0.26.2 (zotero@chnm.gmu.edu) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: NVIDIA Corporation -- NVS 5200M/PCIe/SSE2
  • adapterDeviceID: NVS 5200M/PCIe/SSE2
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: NVIDIA Corporation
  • driverDate:
  • driverVersion: 4.4.0 NVIDIA 331.113
  • info: {u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'cairo', u'AzureSkiaAccelerated': 0}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 1
  • webglRenderer: NVIDIA Corporation -- NVS 5200M/PCIe/SSE2
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Basic

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
cor-el
  • Top 10 Contributor
  • Moderator
17691 solutions 160067 answers

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.

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.