diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
index 495315d55c..4c972aa985 100644
--- a/man/tmpfiles.d.xml
+++ b/man/tmpfiles.d.xml
@@ -736,7 +736,7 @@ d /tmp/foo/bar - - - bmA:1h -
%LSystem or user log directory
- In mode, this is the same as $XDG_CONFIG_HOME with /log appended, and /var/log otherwise.
+ In mode, this is the same as $XDG_STATE_HOME with /log appended, and /var/log otherwise.
@@ -744,7 +744,7 @@ d /tmp/foo/bar - - - bmA:1h -
%SSystem or user state directory
- In mode, this is the same as $XDG_CONFIG_HOME, and /var/lib otherwise.
+ In mode, this is the same as $XDG_STATE_HOME, and /var/lib otherwise.%t
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index eabac56320..a7de3c87fe 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -255,9 +255,9 @@ static int specifier_directory(char specifier, const void *data, const char *roo
static const struct table_entry paths_user[] = {
[DIRECTORY_RUNTIME] = { SD_PATH_USER_RUNTIME },
- [DIRECTORY_STATE] = { SD_PATH_USER_CONFIGURATION },
+ [DIRECTORY_STATE] = { SD_PATH_USER_STATE_PRIVATE },
[DIRECTORY_CACHE] = { SD_PATH_USER_STATE_CACHE },
- [DIRECTORY_LOGS] = { SD_PATH_USER_CONFIGURATION, "log" },
+ [DIRECTORY_LOGS] = { SD_PATH_USER_STATE_PRIVATE, "log" },
};
const struct table_entry *paths;