Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] Changing users temp folder
  • From: Mike Noble <mgnoble@xxxxxxxxx>
  • Date: Sat, 30 Dec 2006 18:25:57 -0800
  • Message-id: <200612301825.57771.mgnoble@xxxxxxxxx>
On Saturday 30 December 2006 17:58, Jeffery Fernandez wrote:
> Hi,
>
> I was wondering if its possible to change the users temp folder location
> from /tmp to ~/tmp ?
>
> When I was using mandriva I was used to having my tmp folder within my home
> directory. This way when I download a file which happens to be a pdf and
> gets opened by an other application like kpdf, the file gets stored in my
> ~/tmp folder than the systems tmp folder.
>
> This is advantages for the user to just go to their home/tmp folder to save
> any files they download to an other location rather than navigating back to
> the root of the file system to fetch the document from /tmp
>
> I don't know what dis-advantages it would have by being in the users home
> directory. On the other hand having it store the temp files under /tmp is a
> privacy issue I would think.
>
> Jeffery

set the ENV variable to be:

TMPDIR=~/tmp

In looking at my env, it shows:

TMPDIR=/tmp

I have not tested it so YMMV.

Mike
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References