summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm3
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);
}