From 4e5e8e6bd6883e84150adb9475e4bba75ccbd7c6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 19 Apr 2004 15:14:37 +0000 Subject: fix handling directories-to-create --- move/move.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/move/move.pm b/move/move.pm index 04105b6a0..d8ec5b7f6 100644 --- a/move/move.pm +++ b/move/move.pm @@ -143,7 +143,8 @@ sub init { foreach (cat_('/image/move/directories-to-create')) { my ($mode, $uid, $gid, $name) = split; next if -d $name; - mkdir($name, oct($mode)); + mkdir($name); + chmod(oct($mode), $name); chown($uid, $gid, $name); } -- cgit v1.2.1