diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-10-13 06:25:52 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-10-13 06:25:52 +0000 |
commit | 0e020d10257a7f1e4cd526eb6c49ba67a442ba85 (patch) | |
tree | 0f595c0a178264458bdeadab565bb5892f006d97 /archival | |
parent | 9315842242f18e3c5cf706b2bb349757928b2b40 (diff) | |
download | busybox-w32-0e020d10257a7f1e4cd526eb6c49ba67a442ba85.tar.gz busybox-w32-0e020d10257a7f1e4cd526eb6c49ba67a442ba85.tar.bz2 busybox-w32-0e020d10257a7f1e4cd526eb6c49ba67a442ba85.zip |
Make certain clients of bb_make_directory default to honoring
the user's umask
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/data_extract_all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/data_extract_all.c b/archival/libunarchive/data_extract_all.c index 52edaa182..d10d665f6 100644 --- a/archival/libunarchive/data_extract_all.c +++ b/archival/libunarchive/data_extract_all.c | |||
@@ -35,7 +35,7 @@ extern void data_extract_all(archive_handle_t *archive_handle) | |||
35 | 35 | ||
36 | if (archive_handle->flags & ARCHIVE_CREATE_LEADING_DIRS) { | 36 | if (archive_handle->flags & ARCHIVE_CREATE_LEADING_DIRS) { |
37 | char *name = bb_xstrdup(file_header->name); | 37 | char *name = bb_xstrdup(file_header->name); |
38 | bb_make_directory (dirname(name), 0777, FILEUTILS_RECUR); | 38 | bb_make_directory (dirname(name), -1, FILEUTILS_RECUR); |
39 | free(name); | 39 | free(name); |
40 | } | 40 | } |
41 | 41 | ||