@@ -48,12 +48,13 @@ * @brief A class which represents an entry of a tar archive. */ @interface OFTarArchiveEntry: OFObject { OFString *_fileName; - uint32_t _mode; + uint16_t _mode; uint64_t _size; + uint16_t _UID, _GID; OFDate *_modificationDate; of_tar_archive_entry_type_t _type; OFString *_targetFileName; OFString *_owner, *_group; uint32_t _deviceMajor, _deviceMinor; @@ -65,11 +66,21 @@ @property (readonly, nonatomic) OFString *fileName; /*! * The mode of the entry. */ -@property (readonly, nonatomic) uint32_t mode; +@property (readonly, nonatomic) uint16_t mode; + +/*! + * The UID of the owner. + */ +@property (readonly, nonatomic) uint16_t UID; + +/*! + * The GID of the group. + */ +@property (readonly, nonatomic) uint16_t GID; /*! * The size of the file. */ @property (readonly, nonatomic) uint64_t size;