You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wagon-dev@maven.apache.org by "Trygve Laugstol (JIRA)" <ji...@codehaus.org> on 2005/09/25 16:49:11 UTC

[jira] Closed: (WAGONSSH-18) Incorrect mkdir command issued

     [ http://jira.codehaus.org/browse/WAGONSSH-18?page=all ]
     
Trygve Laugstol closed WAGONSSH-18:
-----------------------------------

      Assign To: Trygve Laugstol
     Resolution: Fixed
    Fix Version: 1.0-alpha-5

Fixed.

> Incorrect mkdir command issued
> ------------------------------
>
>          Key: WAGONSSH-18
>          URL: http://jira.codehaus.org/browse/WAGONSSH-18
>      Project: wagon-ssh
>         Type: Bug
>     Versions: 1.0-alpha-5
>  Environment: m2 on Win2k3 jdk 1.5.0_04. The repository is on Red Hat linux.
>     Reporter: md
>     Assignee: Trygve Laugstol
>      Fix For: 1.0-alpha-5

>
>
> m2 deploy:deploy failed to updload the artifact. On browsing the maven code I noticed the command being executed for creating the directory (ScpWagon.java line 256) :
> String mkdirCmd = umaskCmd + "mkdir -p -m " + basedir + "/" + dir + "\n";
> This is an invalid mkdir command. The -m option requires a mode argument before the path is specified. And with the umask command in the same subshell, I believe the -m option is redundant.

-- 
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: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org