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-0e020d10257a7f1e4cd526eb6c49ba67a442ba85.tar.gz |
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) if (archive_handle->flags & ARCHIVE_CREATE_LEADING_DIRS) { char *name = bb_xstrdup(file_header->name); - bb_make_directory (dirname(name), 0777, FILEUTILS_RECUR); + bb_make_directory (dirname(name), -1, FILEUTILS_RECUR); free(name); } |