summaryrefslogtreecommitdiff
path: root/archival/unzip.c
diff options
context:
space:
mode:
authorNatanael Copa2012-05-22 17:11:46 +0200
committerDenys Vlasenko2012-05-28 01:29:15 +0200
commit02112d8ae3d0c07214fb2b132e0eacb4ff39d167 (patch)
tree8cc41e1af5cdea68c393190b27f902f3a0a195fd /archival/unzip.c
parentdfc2473b9ed88039697ac89ee2a4301cdaefcf84 (diff)
downloadbusybox-02112d8ae3d0c07214fb2b132e0eacb4ff39d167.zip
busybox-02112d8ae3d0c07214fb2b132e0eacb4ff39d167.tar.gz
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/unzip.c')
-rw-r--r--archival/unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/unzip.c b/archival/unzip.c
index 3c76cda..c1b945a 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -596,7 +596,7 @@ int unzip_main(int argc, char **argv)
printf(" creating: %s\n", dst_fn);
}
unzip_create_leading_dirs(dst_fn);
- if (bb_make_directory(dst_fn, dir_mode, 0)) {
+ if (bb_make_directory(dst_fn, dir_mode, FILEUTILS_IGNORE_CHMOD_ERR)) {
xfunc_die();
}
} else {