| ▲ | 1718627440 5 hours ago | |||||||
Isn't this what is already common in the Python community? > I don't want to unpack an archive and have to scrutinize it for files with o+rxst permissions, or have their creation date be anything other than when I unpacked them. I'm the opposite, when I pack and unpack something, I want the files to be identical including attributes. Why should I throw away all the timestamps, just because the file were temporarily in an archive? | ||||||||
| ▲ | password4321 3 hours ago | parent | next [-] | |||||||
> Why should I throw away all the timestamps, just because the file were temporarily in an archive? In case anyone is unaware, you don't have to throw away all the timestamps when using "zip with no compression". The metadata for each zipped file includes one timestamp (originally rounded to even number of seconds in local time). I am a big last modified timestamp fan and am often discouraged that scp, git, and even many zip utilities are not (at least by default). | ||||||||
| ||||||||
| ▲ | rustyhancock 4 hours ago | parent | prev [-] | |||||||
Yes, it's a lossy process. If your archive drops it you can't get it back. If you don't want it you can just chmod -R u=rw,go=r,a-x | ||||||||
| ||||||||