You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
From bruno@cloudera.com on December 08, 2011 14:27:14
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:
* [bruno
@
Marsupilami goo]$ ls com/ls: cannot open directory com/: Permission denied
* bruno
@
Marsupilami goo]$ ls -altotal 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.
Original issue: http://code.google.com/p/google-guice/issues/detail?id=672
The text was updated successfully, but these errors were encountered: