ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41985] - Zip task changes the file attributes
Date Thu, 05 Apr 2007 10:55:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41985>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41985


ofirda@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Additional Comments From ofirda@gmail.com  2007-04-05 03:55 -------
(In reply to comment #0)
> When running the ZIP task it changes the file attributes from Read Only to 
> R/W, this should not happen, the original file attributes should be 
preserved.

First, to make sure its clear - I am refering to the files WITHIN the zip file 
and not to the attributes of the zip file itself. The files contained in the 
zip are NOT perserving their original attributes (Read Only) and they become 
Read/Write, you can see this after you extract the zip.

Second, the problem is appearing in Windows OS (I have not tested on UNIX), 
since in Windows you cannot grant default attributes to a new file created 
(i.e. Read Only), each file created appears with R/W.

I assume that the problem is in ANT <zip> task since if I use other zip 
software (such as winzip command line tool) the files' attributes are 
perserved within the zip file, it can be seen after they are being extracted.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message