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>
This commit is contained in:
Tim Kientzle 2004-06-05 05:34:45 +00:00
parent 2474b73276
commit 25354e55bf

View File

@ -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);
}