diff options
Diffstat (limited to 'lib/libarchive/archive_read_extract.c')
| -rw-r--r-- | lib/libarchive/archive_read_extract.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libarchive/archive_read_extract.c b/lib/libarchive/archive_read_extract.c index fc5bba2d0d55..11faedd4b0e7 100644 --- a/lib/libarchive/archive_read_extract.c +++ b/lib/libarchive/archive_read_extract.c @@ -759,9 +759,13 @@ set_ownership(struct archive *a, struct archive_entry *entry, int flags) gid_t gid; /* If UID/GID are already correct, return 0. */ - /* TODO: Fix this; need to stat() to find on-disk GID <sigh> */ + /* XXX TODO: Fix this; as written, this fails to set GID a lot. + * Generally, we'll need to stat() to find on-disk GID <sigh> before + * deciding this. */ +/* if (a->user_uid == archive_entry_stat(entry)->st_uid) return (0); +*/ /* Not changed. */ if ((flags & ARCHIVE_EXTRACT_OWNER) == 0) |
