[Bug] When xattr is extracted from archive wrong size is shown #1013

Open
opened 2026-01-29 15:38:36 +00:00 by claunia · 1 comment
Owner

Originally created by @claunia on GitHub (Aug 26, 2025).

Originally assigned to: @claunia on GitHub.

Version

Development commit

Commit hash

No response

Tested debug version?

  • Yes

Which operating systems have you used?

  • Windows
  • Linux
  • macOS
  • Other

What is the architectural bit size you're using?

  • 32-bit
  • 64-bit
  • Unsure or unknown

What processor are you using?

  • An Intel or AMD
  • An ARM or Apple Silicon
  • Unsure or unknown

Description

When extracting the extended attributes from an archive it shows the size of the data fork, not of the extended attribute, but it's merely a visual artifact.

Exact command line used

aaru arc extract --xattrs file.zoo foo

Expected behavior

See the size of the extneded attribute, 25 bytes.

Actual behavior

Seen size of file, 32KiB.

Output of command execution with debug output enabled

N/A
Originally created by @claunia on GitHub (Aug 26, 2025). Originally assigned to: @claunia on GitHub. ### Version Development commit ### Commit hash _No response_ ### Tested debug version? - [x] Yes ### Which operating systems have you used? - [ ] Windows - [x] Linux - [ ] macOS - [ ] Other ### What is the architectural bit size you're using? - [ ] 32-bit - [x] 64-bit - [ ] Unsure or unknown ### What processor are you using? - [x] An Intel or AMD - [ ] An ARM or Apple Silicon - [ ] Unsure or unknown ### Description When extracting the extended attributes from an archive it shows the size of the data fork, not of the extended attribute, but it's merely a visual artifact. ### Exact command line used aaru arc extract --xattrs file.zoo foo ### Expected behavior See the size of the extneded attribute, 25 bytes. ### Actual behavior Seen size of file, 32KiB. ### Output of command execution with debug output enabled ```shell N/A ```
claunia added the bugbeginnerarchive labels 2026-01-29 15:38:36 +00:00
Author
Owner
@claunia commented on GitHub (Aug 26, 2025): FIU: https://openproject.claunia.com/projects/aaru/work_packages/556/activity
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#1013