Files
systemd/src/basic
Yu Watanabe 5117059ee9 mkdir: allow to create directory whose path contains symlink
Fixes a regression caused by 3008a6f21c.

Before the commit, when `mkdir_parents_internal()` is called from `mkdir_p()`,
it uses `_mkdir()` as `flag` is zero. But after the commit, `mkdir_safe_internal()`
is always used. Hence, if the path contains a symlink, it fails with -ENOTDIR.

To fix the issue, this makes `mkdir_p()` calls `mkdir_parents_internal()` with
MKDIR_FOLLOW_SYMLINK flag.

Fixes #22334.
2022-02-02 15:09:45 +09:00
..
2021-10-20 22:20:18 +09:00
2021-10-20 22:20:18 +09:00
2021-05-17 22:27:41 +01:00
2021-05-17 22:27:41 +01:00
2021-05-17 22:27:41 +01:00
2021-06-30 23:33:00 +09:00
2021-10-08 13:11:00 +01:00
2021-10-20 22:20:18 +09:00
2022-01-28 10:50:36 +09:00
2021-03-31 21:43:45 +02:00
2022-01-31 11:50:15 +09:00
2021-11-16 13:00:31 +01:00
2021-09-28 15:15:12 +09:00
2021-09-28 15:15:12 +09:00
2021-12-09 18:13:04 +01:00
2021-08-10 17:08:00 +02:00
2021-04-08 13:00:50 +02:00
2021-02-16 17:15:11 +01:00
2021-11-26 14:58:44 +01:00
2021-11-26 14:58:44 +01:00
2021-03-01 13:40:52 +01:00
2021-07-09 11:11:25 +02:00
2021-12-22 11:07:55 +08:00
2021-04-30 09:31:34 -07:00