You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Dillon (JIRA)" <ji...@codehaus.org> on 2012/11/03 00:48:13 UTC
[jira] (MASSEMBLY-636) Directory permissions still not correct for
dirs created by dependencySet
Jason Dillon created MASSEMBLY-636:
--------------------------------------
Summary: 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 dependencySet.
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
[jira] (MASSEMBLY-636) Directory permissions still not correct for
dirs created by dependencySet
Posted by "Jason Dillon (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MASSEMBLY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312809#comment-312809 ]
Jason Dillon commented on MASSEMBLY-636:
----------------------------------------
BTW, this appears to only affect the .zip format, the .tgz format appears to have the proper permissions.
> 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
[jira] (MASSEMBLY-636) Directory permissions still not correct for
dirs created by dependencySet
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MASSEMBLY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MASSEMBLY-636.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.4
Thanks for testing.
> 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, permissions
> Affects Versions: 2.3
> Reporter: Jason Dillon
> Priority: Critical
> Fix For: 2.4
>
>
> 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
[jira] (MASSEMBLY-636) Directory permissions still not correct for
dirs created by dependencySet
Posted by "Jason Dillon (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MASSEMBLY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313043#comment-313043 ]
Jason Dillon commented on MASSEMBLY-636:
----------------------------------------
Just tried 2.4-SNAPSHOT and it does appear to resolve this problem. Hopefully it stays fixed :-)
> 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, permissions
> 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
[jira] (MASSEMBLY-636) Directory permissions still not correct for
dirs created by dependencySet
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MASSEMBLY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313007#comment-313007 ]
Dennis Lundberg commented on MASSEMBLY-636:
-------------------------------------------
Can you please try with the latest 2.4-SNAPSHOT version? I think that it has solved this issue.
> 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, permissions
> 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
[jira] (MASSEMBLY-636) Directory permissions still not correct for
dirs created by dependencySet
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MASSEMBLY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MASSEMBLY-636:
--------------------------------------
Component/s: permissions
> 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, permissions
> 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
[jira] (MASSEMBLY-636) Directory permissions still not correct for
dirs created by dependencySet
Posted by "Jason Dillon (JIRA)" <ji...@codehaus.org>.
[ 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