When one downloads a file using Firefox, the download seems to start before one even chooses a save directory. I would assume that Firefox assumes that I am most likely going to save said file, and starts downloading it ahead of time. However, I have a strange policy of downloading things to a filesystem in-memory (e.g.
/dev/shm), and do not want even temporary files even touching my main disk. Where is this location on Linux (namely Debian)? Can it be changed?
P.S. This isn't really for security purposes.
In this post, it seems that Firefox uses the
TMPDIR environment variable for the temporary location. I can't actually check at the moment, though, so is this really the case?