Skip to main content

Timeline for Anonymous tarballs

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Apr 21, 2016 at 9:24 comment added Anthon @PSkocik That is interesting, I just checked man cpio and cpio --help and they both confirm what I commented before. Probably the source was updated, but the documentation wasn't (GNU cpio 2.11)
Apr 21, 2016 at 7:51 comment added Petr Skocik It appears to work for -o too. I tried creating a simple archive with and without --owner root:root and then diffed their respective hexdumps. What changed were two two-byte sequence that little-endian-decoded to 0 and my $UID respectively.
Apr 21, 2016 at 7:44 comment added Anthon IIRC --owner only works on extraction/pass-through. If I am wrong you can use cpio's -H option to directly write tar files.
Apr 21, 2016 at 7:38 vote accept Petr Skocik
Apr 21, 2016 at 9:14
Apr 21, 2016 at 7:38 comment added Petr Skocik Thanks. It does the job, though only partly. Looks like cpio (which seems to always encode uids numerically) can anonymize its archives fully via the --owner switch.
Apr 21, 2016 at 7:22 history answered Anthon CC BY-SA 3.0