Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to change directory where files are placed for other applications to access?

  • 2 replies
  • 2 have this problem
  • 18 views
  • Last reply by t--miller

more options

Running ESR on Centos (RedHat) 5 & 6. Because of the way my system is set up, I would like to change where Firefox places files when they need to be accessed by another application (e.g. a .doc file). The default is to place them in /tmp, which works for most people, but does not work in my particular installation. (Some of the programs I use to read certain files are actually on a different computer, but can be started automatically from the computer I am browsing on). I need to place these files on a network directory, so the other computer can see them.

I looked in about:config, but do not find anything pointing to /tmp. I am hoping that this is one of those "add a new line to about:config" things that are assumed (based on OS), but can be changed if needed.

Thanks, Ted Miller

Running ESR on Centos (RedHat) 5 & 6. Because of the way my system is set up, I would like to change where Firefox places files when they need to be accessed by another application (e.g. a .doc file). The default is to place them in /tmp, which works for most people, but does not work in my particular installation. (Some of the programs I use to read certain files are actually on a different computer, but can be started automatically from the computer I am browsing on). I need to place these files on a network directory, so the other computer can see them. I looked in about:config, but do not find anything pointing to /tmp. I am hoping that this is one of those "add a new line to about:config" things that are assumed (based on OS), but can be changed if needed. Thanks, Ted Miller

Chosen solution

You can probably only do this by changing the TMPDIR=/tmp environment variable to point to that network drive.
You can start Firefox via a script file if you do ont want to do this for all applications.

#!/bin/sh

export TMPDIR=<path to tmp directory>
cd <path to Firefox>
./firefox
Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

You can probably only do this by changing the TMPDIR=/tmp environment variable to point to that network drive.
You can start Firefox via a script file if you do ont want to do this for all applications.

#!/bin/sh

export TMPDIR=<path to tmp directory>
cd <path to Firefox>
./firefox
more options

Thanks cor-el. Can manage that easily, per your shell example. Ted Miller