What is this folder: /run/user/1000 on my Fedora system and what does it do?
~ $ df -h Filesystem Size Used Avail Use% Mounted on tmpfs 1.2G 20K 1.2G 1% /run/user/1000 EDIT: 7 june 2019.
My two answers don't agree on what directory or where the files stored in this place were:
Prior to
systemd, these applications typically stored their files in/tmp.
And again here:
/tmpwas the only location specified by theFHSwhich is local, and writable by all users.
The purposes of this directory were once served by
/var/run. In general, programs may continue to use/var/runto fulfill the requirements set out for/runfor the purposes of backwards compatibility.
And again here:
Programs which have migrated to use
/runshould cease their usage of/var/run, except as noted in the section on/var/run.
/var/runwas never used for the same purpose as/run/user/$id./var/runis writable by root only, and thus not usable by users./run/user/$idis for normal users./var/runis also not deprecated by the existence of/run/user/$ideither. They serve different purposes./var/runis for system wide services./runhowever does deprecate/var/runbut this is a separate matter entirely, and unrelated to/run/user/$id.