diff options
author | Tim Kientzle <kientzle@FreeBSD.org> | 2004-06-05 05:34:45 +0000 |
---|---|---|
committer | Tim Kientzle <kientzle@FreeBSD.org> | 2004-06-05 05:34:45 +0000 |
commit | 25354e55bf4980d692f45028f36265de8e9e8010 (patch) | |
tree | 55ff72cdafeb4336086ffbde58fdfc55e185f6f5 /lib | |
parent | 2474b73276a04870c821f7d92ceb034cdebf7493 (diff) | |
download | src-25354e55bf4980d692f45028f36265de8e9e8010.tar.gz src-25354e55bf4980d692f45028f36265de8e9e8010.zip |
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>
Notes
Notes:
svn path=/head/; revision=130109
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 56e67e89afa1..fc5bba2d0d55 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); } |