aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2012-05-22 17:11:46 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2012-05-28 01:29:15 +0200
commit02112d8ae3d0c07214fb2b132e0eacb4ff39d167 (patch)
tree8cc41e1af5cdea68c393190b27f902f3a0a195fd /include
parentdfc2473b9ed88039697ac89ee2a4301cdaefcf84 (diff)
downloadbusybox-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 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f12800f53..5e5c8c7e8 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -333,6 +333,7 @@ enum { /* DO NOT CHANGE THESE VALUES! cp.c, mv.c, install.c depend on them. */
FILEUTILS_PRESERVE_SECURITY_CONTEXT = 1 << 9, /* -c */
FILEUTILS_SET_SECURITY_CONTEXT = 1 << 10,
#endif
+ FILEUTILS_IGNORE_CHMOD_ERR = 1 << 11,
};
#define FILEUTILS_CP_OPTSTR "pdRfilsLH" IF_SELINUX("c")
extern int remove_file(const char *path, int flags) FAST_FUNC;