Re: Rob: Q: dir() + flaw discovered with time stamps

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:

> I just tried WinZip and pkunzip.
> They keep the "last modified" time stamps the way they 
> were in the .zip file. No problem.
> I just tried tar on Linux. It also keeps the last modified
> dates the way they were in the .tar file.
> So I don't think the problem is as big as you suggest.
> I might eventually add some more information to the dir() results,
> but I don't think this is an urgent problem.
> 
> In some cases, the person who made the .zip may have 
> caused a lot of files to be set to the same time stamp
> before zipping them. For example, I create the euphoria\source 
> directory by running a program that copies the files from 
> my main source directory, stripping out a few bits 
> (translator/binder related, or old de-shrouder). In this case
> you would hope the person making the .zip would do some
> final testing before zipping. The bug you are thinking
> about would not, IMHO, be likely to be introduced 
> just because of zip/unzip.
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>

Your right, I looked into this some more. It is an issue with the Windows ZIP
file extraction wizard when the ZIP file has a security message in the file
properties saying it file came from a different computer. When I click the
"unblock" button, the issue oddly goes away. This has not occured with any other
extraction software I've tried.

So to prevent the "modified" time stamps from changing, click the "unblock"
button in the ZIP file's properties menu. If you use different extration software
like WinZIP, WinRAR, 7Zip, etc. you don't need to worry about this.


Regards,
Vincent

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu