diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2004-06-05 06:08:40 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2004-06-05 06:08:40 +0000 |
| commit | 16847cbdc43a92c671e90ddc6d1a1f2c41f929f7 (patch) | |
| tree | 34b4b08c74521d3a06819824413238afdf3af65b /lib/libarchive/archive_read_extract.c | |
| parent | 25354e55bf4980d692f45028f36265de8e9e8010 (diff) | |
Notes
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) |
