That was a “fun” debugging session…

  • tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    4 hours ago

    Just bear in mind that uid 1001 on one machine is not generally uid 1001 on another, and that if you copy the tar off machine you’re more than likely giving permission to somebody other than the intended target

    • esa@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      3 hours ago

      It’s even a tape archiving tool. Just pretty much nobody uses it in the original way any more.

      Very much one of those “if it ain’t broke, don’t replace it” tools.

      • ReversalHatchery@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        36 minutes ago

        but also the way it puts file data one after the other can be beneficial for compression, especially if you can define the order of the files somehow

    • lorty@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      I just assumed that whenever it would be expanded that the contents would have the default permissions for that user.

      It’s actually a cool feature I just feel dumb for how long it took me to realize this was the issue.

  • monovergent 🛠️@lemmy.ml
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    11 hours ago

    Learned to make use of this the hard way when transferring a directory over a FAT32 USB drive messed up the permissions.