lorty@lemmy.ml to Linux@lemmy.ml · 18 hours agoTIL tar keeps permissions of the files and directories archived if possible.message-squaremessage-square20fedilinkarrow-up197arrow-down13file-text
arrow-up194arrow-down1message-squareTIL tar keeps permissions of the files and directories archived if possible.lorty@lemmy.ml to Linux@lemmy.ml · 18 hours agomessage-square20fedilinkfile-text
minus-squarefrongt@lemmy.ziplinkfedilinkarrow-up18arrow-down1·18 hours agoI’ve never heard of an archiving program that didn’t.
minus-squarelorty@lemmy.mlOPlinkfedilinkarrow-up3·10 hours agoI thought that, since users would be different between machines, there’s no point in keeping this kind of information.
minus-squareTankieTanuki [he/him]@hexbear.netlinkfedilinkEnglisharrow-up6·9 hours agoYou can sync user and daemon UIDs across machines with LDAP and SSSD. And even if you don’t do that, keeping the information is useful when restoring to the same machine
minus-squareslock@lemmy.worldlinkfedilinkarrow-up10·13 hours agoIIRC zip can, but doesn’t by default. Source : wasted 8 hours trying to figure out why something didn’t work anymore (had to switch from tar to zip because stupid security system wouldn’t let me transfer the tar file)
minus-squareZykino@programming.devlinkfedilinkarrow-up5·edit-22 hours agotar -czf <folder> mv folder.{tar.gz,zip}
I’ve never heard of an archiving program that didn’t.
mostly anything on windows
I thought that, since users would be different between machines, there’s no point in keeping this kind of information.
You can sync user and daemon UIDs across machines with LDAP and SSSD.
And even if you don’t do that, keeping the information is useful when restoring to the same machine
IIRC zip can, but doesn’t by default. Source : wasted 8 hours trying to figure out why something didn’t work anymore (had to switch from tar to zip because stupid security system wouldn’t let me transfer the tar file)
Just use archive.pdf