lorty@lemmy.ml to Linux@lemmy.ml · 2 months agoTIL tar keeps permissions of the files and directories archived if possible.message-squaremessage-square25linkfedilinkarrow-up1133arrow-down13file-text
arrow-up1130arrow-down1message-squareTIL tar keeps permissions of the files and directories archived if possible.lorty@lemmy.ml to Linux@lemmy.ml · 2 months agomessage-square25linkfedilinkfile-text
minus-squareLemmchen@feddit.orglinkfedilinkEnglisharrow-up36·2 months agoThat’s a feature, not a bug. It’s an archive after all.
minus-squareesa@discuss.tchncs.delinkfedilinkarrow-up13·2 months agoIt’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.
minus-squareReversalHatchery@beehaw.orglinkfedilinkarrow-up1·2 months agobut 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
minus-squarelorty@lemmy.mlOPlinkfedilinkarrow-up4·2 months agoI 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.
minus-squareReversalHatchery@beehaw.orglinkfedilinkarrow-up2·2 months agothat can be done too. tarballed software normally doesn’t have permissions attached I think
That’s a feature, not a bug. It’s an archive after all.
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.
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
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.
that can be done too. tarballed software normally doesn’t have permissions attached I think