lorty@lemmy.ml 发于 Linux@lemmy.ml · 1 年前TIL tar keeps permissions of the files and directories archived if possible.message-squaremessage-square25linkfedilinkarrow-up1131arrow-down13file-text
arrow-up1128arrow-down1message-squareTIL tar keeps permissions of the files and directories archived if possible.lorty@lemmy.ml 发于 Linux@lemmy.ml · 1 年前message-square25linkfedilinkfile-text
minus-squarefrongt@lemmy.zip被社区封禁linkfedilinkarrow-up19arrow-down1·1 年前I’ve never heard of an archiving program that didn’t.
minus-squareslock@lemmy.worldlinkfedilinkarrow-up11·1 年前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)
minus-squareZykino@programming.devlinkfedilinkarrow-up7·edit-21 年前tar -czf <folder> mv folder.{tar.gz,zip}
minus-squarelorty@lemmy.ml楼主linkfedilinkarrow-up3·1 年前I 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·1 年前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
I’ve never heard of an archiving program that didn’t.
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
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
mostly anything on windows