You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/06/01 05:01:21 UTC

[jira] Closed: (MPARTIFACT-46) deploy fails due to chmod command failure

     [ http://jira.codehaus.org/browse/MPARTIFACT-46?page=all ]
     
Brett Porter closed MPARTIFACT-46:
----------------------------------

    Resolution: Fixed

> deploy fails due to chmod command failure
> -----------------------------------------
>
>          Key: MPARTIFACT-46
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-46
>      Project: maven-artifact-plugin
>         Type: Bug
>     Versions: 1.4.1
>     Reporter: Andy Fyfe
>      Fix For: 1.5

>
>
> If user1 does a deploy, user1 owns the files associated with it.  If user2 subsequently does a deploy, the chmod g+w command executed will fail, as user1 owns the file.  This could be avoided by using the -f option to chmod.  The same likely applies to chgrp.  For example,
> Failed to deploy to: bigtribe Reason: Error executing command: chmod g+w /maven/repository/bigtribe/poms/verb-snapshot-version 
> BUILD FAILED 
> File...... /Users/afyfe/.maven/cache/maven-artifact-plugin-1.4.1/plugin.jelly 
> Element... artifact:artifact-deploy-snapshot 
> Line...... 156 
> Column.... 13 
> Unable to deploy to any repositories
> Note that the chmod command fails even though the file already has group write permissions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org