diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2012-05-22 17:11:46 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-05-28 01:29:15 +0200 |
commit | 02112d8ae3d0c07214fb2b132e0eacb4ff39d167 (patch) | |
tree | 8cc41e1af5cdea68c393190b27f902f3a0a195fd /archival | |
parent | dfc2473b9ed88039697ac89ee2a4301cdaefcf84 (diff) | |
download | busybox-w32-02112d8ae3d0c07214fb2b132e0eacb4ff39d167.tar.gz busybox-w32-02112d8ae3d0c07214fb2b132e0eacb4ff39d167.tar.bz2 busybox-w32-02112d8ae3d0c07214fb2b132e0eacb4ff39d167.zip |
unzip: ignore chmod errors
This makes unzip to FAT filesystems not exit with error.
This is similar to how the "normal" unzip works.
Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r-- | archival/unzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/unzip.c b/archival/unzip.c index 3c76cdafc..c1b945a44 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -596,7 +596,7 @@ int unzip_main(int argc, char **argv) | |||
596 | printf(" creating: %s\n", dst_fn); | 596 | printf(" creating: %s\n", dst_fn); |
597 | } | 597 | } |
598 | unzip_create_leading_dirs(dst_fn); | 598 | unzip_create_leading_dirs(dst_fn); |
599 | if (bb_make_directory(dst_fn, dir_mode, 0)) { | 599 | if (bb_make_directory(dst_fn, dir_mode, FILEUTILS_IGNORE_CHMOD_ERR)) { |
600 | xfunc_die(); | 600 | xfunc_die(); |
601 | } | 601 | } |
602 | } else { | 602 | } else { |