Use mkdir_p_label instead of mkdir_parents_label, so that the final directory component is created too. --- src/locale/localed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/locale/localed.c b/src/locale/localed.c index 04268a1..bb2a3a2 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c @@ -567,7 +567,7 @@ static int write_data_x11(void) { return 0; } - mkdir_parents_label("/etc/X11/xorg.conf.d", 0755); + mkdir_p_label("/etc/X11/xorg.conf.d", 0755); r = fopen_temporary("/etc/X11/xorg.conf.d/00-keyboard.conf", &f, &temp_path); if (r < 0) -- 1.8.0.2 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel