Status: New
Owner: ----

New issue 672 by [email protected]: Guice 2.0 and 3.0 jar are not generated with proper rights
http://code.google.com/p/google-guice/issues/detail?id=672

When creating packages, such as RPMs, all jars in a package will be repacked.
The system script doing the repacking uses unzip to expand jars.

Unfortunately, guice create jars with no rights on the included files, therefore breaking builds of project using guice.

Steps to reproduce the issue:
* unzip ../guice-3.0/guice-3.0.jar

* [bruno@Marsupilami goo]$ ls com/
ls: cannot open directory com/: Permission denied

* bruno@Marsupilami goo]$ ls -al
total 32
drwxrwxr-x   4 bruno bruno  4096 Dec  8 11:24 .
drwxr-xr-x. 24 bruno bruno  4096 Dec  8 11:24 ..
d---------   3 bruno bruno  4096 Mar 24  2011 com
----------   1 bruno bruno 11357 Jan 11  2009 LICENSE
drwxr-xr-x   2 bruno bruno  4096 Mar 24  2011 META-INF
----------   1 bruno bruno   101 Jan 11  2009 NOTICE

[bruno@Marsupilami goo]$ sudo ls -al com/
total 12
d--------- 3 bruno bruno 4096 Mar 24  2011 .
drwxrwxr-x 4 bruno bruno 4096 Dec  8 11:24 ..
d--------- 3 bruno bruno 4096 Mar 24  2011 google

The same apply for all files inside guice-3.0.jar.


--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to