Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.3
-
None
Description
While 2.3 did fix some of the permission problems, it still seems to have issues creating proper permissions in zip files for directories created by dependencySet, even with directoryMode configured.
I've setup a branch of nexus 'm-assembly-p-2.3-still-broke' which configures version 2.3 of the m-assembly-p:
https://github.com/sonatype/nexus/tree/m-assembly-p-2.3-still-broke
mvn clean install -Dtest=skip unzip -d target nexus/nexus-oss-webapp/target/nexus-oss-webapp-2.3-SNAPSHOT-bundle.zip find target/nexus-oss-webapp-2.3-SNAPSHOT -ls | grep rwxrwx
Shows that the lib and nexus directories are 777:
157453615 0 drwxrwxrwx 23 jason staff 782 Nov 2 16:42 target/nexus-oss-webapp-2.3-SNAPSHOT/lib 157452852 0 drwxrwxrwx 12 jason staff 408 Nov 2 16:42 target/nexus-oss-webapp-2.3-SNAPSHOT/nexus
Both of these directories are created by a dependencySet with directoryMode set to 0755.
The last version of the m-assembly-p which actually functions correct for perms/assembly configuration is 2.2-beta-3.