diff --git a/plugins/libarchive/libarchiveplugin.cpp b/plugins/libarchive/libarchiveplugin.cpp --- a/plugins/libarchive/libarchiveplugin.cpp +++ b/plugins/libarchive/libarchiveplugin.cpp @@ -445,11 +445,15 @@ const QString owner = QString::fromLatin1(archive_entry_uname(aentry)); if (!owner.isEmpty()) { e->setProperty("owner", owner); + } else { + e->setProperty("owner", static_cast(archive_entry_uid(aentry))); } const QString group = QString::fromLatin1(archive_entry_gname(aentry)); if (!group.isEmpty()) { e->setProperty("group", group); + } else { + e->setProperty("group", static_cast(archive_entry_gid(aentry))); } e->compressedSizeIsSet = false;