diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-06-05 05:34:45 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-06-05 05:34:45 +0000 |
commit | b74d5e60b1250e6e3a52d64de4b5c632b3b13a40 (patch) | |
tree | 55ff72cdafeb4336086ffbde58fdfc55e185f6f5 /lib | |
parent | 5b8c67e0c6be1a49dfacbd998683bb7ce43dd8dc (diff) | |
download | FreeBSD-src-b74d5e60b1250e6e3a52d64de4b5c632b3b13a40.zip FreeBSD-src-b74d5e60b1250e6e3a52d64de4b5c632b3b13a40.tar.gz |
YAPHtM: Yet Another Pointy Hat to Me.
After calculating new dir permissions that allow creating files,
don't be stupid and use the original permissions. <sigh>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libarchive/archive_read_extract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_read_extract.c b/lib/libarchive/archive_read_extract.c index 56e67e8..fc5bba2 100644 --- a/lib/libarchive/archive_read_extract.c +++ b/lib/libarchive/archive_read_extract.c @@ -423,7 +423,7 @@ archive_read_extract_dir(struct archive *a, struct archive_entry *entry, } if (archive_read_extract_dir_create(a, archive_entry_pathname(entry), - mode, flags)) { + writable_mode, flags)) { /* Unable to create directory; just use the existing dir. */ return (ARCHIVE_WARN); } |