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:
parent
5bc0926938
commit
0a9cc2d45e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user