[pulseaudio-discuss] [PATCH] have make_random_dirrespect $TMPDIR

Stelian Ionescu stelian.ionescu-zeus at poste.it
Mon Sep 22 17:57:19 PDT 2008


Colin Guthrie <gmane <at> colin.guthr.ie> writes:

> 
> 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
> 
> On NFS, this would not be a good place to create a socket file, so I 
> don't think this is a good idea.

Having $TMPDIR over NFS is a bad idea. If you need private tempdirs, a better
solution would be to use pam_mktemp or something similar.




More information about the pulseaudio-discuss mailing list