On Wed, 20.11.13 19:19, Colin Walters (walt...@verbum.org) wrote:

> > So yeah, there your mix
> > and match is broken: 
> 
> I'm proposing a simple goal: XDG_RUNTIME_DIR should always be that
> matching the current uid.  I can't think of any case where you'd
> want it otherwise.

That can't work. As the directory only exists when a real login session
is around. su/sudo don't get their own login sessins, hence the dir
doesn't necessarily exist and from the perspective of the code running
in su/sudo the lifetime semantics of the dir wouldn't match any
expections...

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to