diff options
-rw-r--r-- | src/core/automount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/automount.c b/src/core/automount.c index bcdd7e19a9..a54e56c312 100644 --- a/src/core/automount.c +++ b/src/core/automount.c @@ -568,7 +568,7 @@ static void automount_enter_waiting(Automount *a) { if (r < 0) goto fail; - (void) mkdir_p_label(a->where, 0555); + (void) mkdir_p_label(a->where, a->directory_mode); unit_warn_if_dir_nonempty(UNIT(a), a->where); |