Strange Folders/Permissions in ~/.cache

Simon McVittie smcv at collabora.com
Thu Jan 3 11:45:57 UTC 2019


On Wed, 02 Jan 2019 at 17:02:46 -0500, Matthias Clasen wrote:
> What you describe here is the directory structure of the document store, which
> gets mounted as a [FUSE] filesystem in XDG_RUNTIME_DIR.
> No idea how it would end up in ~/.cache for you,

GLib uses ~/.cache as a fallback for g_get_user_runtime_dir() if
XDG_RUNTIME_DIR isn't set.

XDG_RUNTIME_DIR is typically only set on Linux systems that have a
correctly-set-up systemd-logind and pam_systemd, or on Unixish systems
that have some other implementation of XDG_RUNTIME_DIR such as Canonical's
<https://launchpad.net/pam-xdg-support> (which was present in some older
Ubuntu releases, but was abandoned after they adopted systemd-logind).

    smcv


More information about the Flatpak mailing list