diff options
Diffstat (limited to 'move')
-rw-r--r-- | move/move.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |