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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to