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:
kientzle 2004-06-05 05:34:45 +00:00
parent 5bc0926938
commit 0a9cc2d45e

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