Mikkel L. Ellertson wrote:
<snip>
> The way I do it is to create a tmp directory in each user's home
> directory. (Add to /etc/skel) Then I have TMP set to this
> directory.  (Add local.sh and local.csh in /etc/profile.d) This
> works for programs that honor TMP and is easy to add to scripts.
> 
> if [ -z $TMP ]
>     then
>         temp_file=/tmp/dd.$$
> else
>     temp_file=$TMP/dd.$$
> fi

Thanks, Mikkel, for this excellent alternative to using /tmp.

Dean
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to