On 2012-04-04 15:20, Tom Gundersen wrote: > In that case they'll use whatever udisks2 uses, yes. AFAIU the current > dir might be a stop-gap solution, and the devs are considering using > $XDG_RUNTIME_DIR/media/LABEL in the end. That would mean: > /run/USER/media/LABEL. No, AFAIK, $XDG_RUNTIME_DIR/media was considered but later rejected for security reasons: * freedesktop/udisks: aa02e5f Use /run/media/$USER for mounting ffbee04 Avoid using $XDG_RUNTIME_DIR/media for now * gnome/gvfs: 6307d01 Use /run/media/$USER instead of $XDG_RUNTIME_DIR/media > commit 6307d017a12642e71ba2f04e82fc3781425a3eb6 > Author: David Zeuthen <davidz@xxxxxxxxxx> > Date: Wed Feb 22 17:12:44 2012 -0500 > > Use /run/media/$USER instead of $XDG_RUNTIME_DIR/media > > This is because of security concerns - it is way too dangerous to let > a system-daemon such as udisks manage directories in a user-controlled > location such as $XDG_RUNTIME_DIR. So now udisks2 is using > /run/media/$USER instead, see > > http://cgit.freedesktop.org/udisks/commit/?id=aa02e5fc53efdeaf66047d2ad437ed543178965b > > These bugs are related > > https://bugzilla.gnome.org/show_bug.cgi?id=669797 > https://bugzilla.gnome.org/show_bug.cgi?id=646391 -- Mantas Mikulėnas <grawity@xxxxxxxxx>