[RFC] XDG_RUNTIME_DIR
Lennart Poettering
mzkqt at 0pointer.de
Wed Nov 10 13:43:29 PST 2010
On Wed, 10.11.10 16:17, Ryan Lortie (desrt at desrt.ca) wrote:
>
> On Wed, 2010-11-10 at 20:37 +0100, Lennart Poettering wrote:
> > Mhmm, I don't think we should.
> >
> > TMPDIR influences tmpnam(), however that function kinda expects a common
> > /tmp namespace anyway, so redirecting this is not necessary.
> >
> > I think we shouldn't break assumptions about $TMPDIR, for example that
> > it might be useful for communicating with other people.
> >
> > It's actually one of the things where I believe polyinstantiated /tmp is
> > actually going wrong: $TMP is shared between users, which has many
> > negative aspects, but also allows users to communicate with each other.
>
> /tmp is also often used to store "largeish" things like downloads in
> progress.
>
> I don't think we want that in a tmpfs.
Good point. Though then again I think we eventually want to do tmpfs
/tmp too. /var/tmp is for largish stuff.
But I guess this is reason enough to not redirect $TMPDIR like this for
now.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the xdg
mailing list