On Wed, 2012-12-05 at 16:21 +0100, David Faure wrote:

> if XDG_RUNTIME_DIR isn't set, mkdir /tmp/runtime-$USER,
> then ensure that it's owned by the user (otherwise bail out),
> then chmod to 0700 (and if that fails, bail out).

I'd at least include the kernel boot UUID or the DBus session bus UUID
in the name, so that you get the semantics that upon reboot, it's empty.


_______________________________________________
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to