Name

tmpfiles.d — Configuration for creation, deletion and cleaning of volatile and temporary files

Synopsis

/usr/lib/tmpfiles.d/*.conf

/etc/tmpfiles.d/*.conf

/run/tmpfiles.d/*.conf

Configuration Format

Each configuration file is named in the style of <program>.conf. Files in /etc/ overwrite files with the same name in /usr/lib/. Files in /run overwrite files with the same name in /etc/ and /usr/lib/. Packages should install their configuration files in /usr/lib/, files in /etc/ are reserved for the local administration, which possibly decides to overwrite the configurations installed from packages. All files are sorted by filename in alphabetical order, regardless in which of the directories they reside, to ensure that a specific configuration file takes precedence over another file with an alphabetically later name.

The configuration format is one line per path containing action, mode, ownership and age fields:

Type Path          Mode UID  GID  Age
d    /run/user 0755 root root 10d