diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-04-19 15:14:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-04-19 15:14:37 +0000 |
commit | 4e5e8e6bd6883e84150adb9475e4bba75ccbd7c6 (patch) | |
tree | b4af55b34c9c5f97530ad07a7939af8200601ebf /move | |
parent | efdd5965c477616be56b9f56a8613645ff2dac41 (diff) | |
download | drakx-backup-do-not-use-4e5e8e6bd6883e84150adb9475e4bba75ccbd7c6.tar drakx-backup-do-not-use-4e5e8e6bd6883e84150adb9475e4bba75ccbd7c6.tar.gz drakx-backup-do-not-use-4e5e8e6bd6883e84150adb9475e4bba75ccbd7c6.tar.bz2 drakx-backup-do-not-use-4e5e8e6bd6883e84150adb9475e4bba75ccbd7c6.tar.xz drakx-backup-do-not-use-4e5e8e6bd6883e84150adb9475e4bba75ccbd7c6.zip |
fix handling directories-to-create
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); } |