[pulseaudio-discuss] [PATCH] have make_random_dir respect $TMPDIR

Lennart Poettering lennart at poettering.net
Mon Sep 22 16:29:49 PDT 2008


On Tue, 23.09.08 00:25, Colin Guthrie (gmane at colin.guthr.ie) wrote:

> 
> Stelian Ionescu wrote:
> > with the attached patch, make_random_dir first tries to use $TMPDIR,
> > then $TMP finally defaulting to "/tmp"
> 
> On my system $TMPDIR=/home/$USER/tmp

Uh, not sure if this is really such a good idea. I am actually not
even convinced that $TMPDIR at all is a good idea. Too many
applications assume that dir is a shared namespace they can use to
communicate with other users. 

Also, I see certain security implications here. Before I merge that
patch I really need to think about it more...

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list