GNOME Bugzilla – Bug 646493
Please move /tmp/virtual-$USER.XXXXXX directories to $XDG_RUNTIME_DIR
Last modified: 2011-04-05 06:51:03 UTC
gvfs seems to create /tmp/virtual-$USER.XXXXXX directories for each user at each login, and often leaves them around without cleaning them up. (Right now I have piles of them just from the past month.) These directories seem like a perfect fit for /var/run, rather than /tmp. Moving them there should not break anything, and should allow them to get automatically cleaned up. Furthermore, it reduces clutter in /tmp.
A correction: this directory should move into $XDG_RUNTIME_DIR if set. That variable will point to a user-writable (and user-specific) directory; if unset, gvfs can fall back to $TMPDIR or /tmp.
*** This bug has been marked as a duplicate of bug 646391 ***