maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Moved: (WAGON-196) Incorrect mkdir command issued
Date Wed, 14 May 2008 07:37:29 GMT

     [ http://jira.codehaus.org/browse/WAGON-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter moved WAGONSSH-18 to WAGON-196:
--------------------------------------------

    Affects Version/s:     (was: 1.0-alpha-5)
        Fix Version/s:     (was: 1.0-alpha-5)
                       1.0-alpha-5
          Component/s:     (was: wagon-ssh)
                       wagon-ssh
                  Key: WAGON-196  (was: WAGONSSH-18)
              Project: Maven Wagon  (was: wagon-ssh)

> Incorrect mkdir command issued
> ------------------------------
>
>                 Key: WAGON-196
>                 URL: http://jira.codehaus.org/browse/WAGON-196
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>         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

        

Mime
View raw message