From 0e020d10257a7f1e4cd526eb6c49ba67a442ba85 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 13 Oct 2004 06:25:52 +0000 Subject: Make certain clients of bb_make_directory default to honoring the user's umask --- archival/libunarchive/data_extract_all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival') diff --git a/archival/libunarchive/data_extract_all.c b/archival/libunarchive/data_extract_all.c index 52edaa1..d10d665 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); } -- cgit v1.1