Skip to content

Commit

Permalink
misc/create_inode_libarchive.c: also allow gnu.translator xattrs
Browse files Browse the repository at this point in the history
  • Loading branch information
josch committed Aug 26, 2024
1 parent ef781d1 commit 279a8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/create_inode_libarchive.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ static errcode_t set_inode_xattr_tar(ext2_filsys fs, ext2_ino_t ino,
dl_archive_entry_xattr_reset(entry);
while (dl_archive_entry_xattr_next(entry, &name, &value, &value_size) ==
ARCHIVE_OK) {
if (strcmp(name, "security.capability") != 0)
if (strcmp(name, "security.capability") != 0 && strcmp(name, "gnu.translator"))
continue;

retval = ext2fs_xattr_set(handle, name, value, value_size);
Expand Down

0 comments on commit 279a8bc

Please sign in to comment.