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 of entries when updating the archive
Date Tue, 10 Apr 2007 09:24:23 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





------- Additional Comments From stevel@apache.org  2007-04-10 02:24 -------
Ofir. when ant creates a <zip> file from all files in a directory, it will not
pick up any permissions from the files in the filesystem.

That is, if you have a file in the filesys marked read-only or exec, when it
gets into the zip it will have R/W permissions. We do not read the filesystem
permissions. As the manual says, "Note that file permissions will not be stored
in the resulting zipfile.".

You can explicitly list perms using a <zipfileset>.
http://ant.apache.org/manual/CoreTypes/zipfileset.html

Now, is this the problem? That permissions in the file system are not being
picked up and passed to entries in the zip file?

-- 
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