[ 
https://jira.codehaus.org/browse/MASSEMBLY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dillon updated MASSEMBLY-636:
-----------------------------------

    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

{noformat}
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
{noformat}

Shows that the lib and nexus directories are 777:

{noformat}
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
{noformat}

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.


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

{noformat}
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
{noformat}

Shows that the lib and nexus directories are 777:

{noformat}
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
{noformat}

Both of these directories are created by dependencySet.

The last version of the m-assembly-p which actually functions correct for 
perms/assembly configuration is 2.2-beta-3.


    
> Directory permissions still not correct for dirs created by dependencySet
> -------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-636
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-636
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.3
>            Reporter: Jason Dillon
>            Priority: Critical
>
> 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
> {noformat}
> 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
> {noformat}
> Shows that the lib and nexus directories are 777:
> {noformat}
> 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
> {noformat}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to