Skip to content

Portrait theme packs contain macOS extended attributes causing tar warnings #43

@arcavenai

Description

@arcavenai

Description

Some portrait theme packs on portraits.darkatelier.org appear to have been packaged on macOS and include Apple-specific extended attribute metadata. When downloaded and extracted on Linux, tar emits repeated warnings:

tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'

Steps to reproduce

forestage-a portraits download cowboy-bebop

Expected behavior

Clean extraction with no warnings.

Actual behavior

Downloading portrait pack for "cowboy-bebop"
  from: https://portraits.darkatelier.org/v1/themes/cowboy-bebop.tar.gz
  to:   /home/user/.local/share/forestage/portraits/cowboy-bebop
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'
... (repeated ~10 times)

The pack still extracts and works correctly, but the warnings are noisy and may confuse users.

Suggested fix

Re-package the affected tarballs using COPYFILE_DISABLE=1 tar on macOS (or gtar --no-mac-metadata) to strip the Apple extended attributes before upload. May affect other theme packs besides cowboy-bebop.

Environment

  • Platform: Linux (Raspberry Pi OS, aarch64)
  • tar: GNU tar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions