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

[jira] Commented: (MPSITE-13) SSH deployment can mess up file permissions of home dir

    [ http://jira.codehaus.org/browse/MPSITE-13?page=comments#action_46286 ] 

Trygve Laugstol commented on MPSITE-13:
---------------------------------------

Simply replacing ";" with "&&" should do the trick.

> SSH deployment can mess up file permissions of home dir
> -------------------------------------------------------
>
>          Key: MPSITE-13
>          URL: http://jira.codehaus.org/browse/MPSITE-13
>      Project: maven-site-plugin
>         Type: Bug
>     Versions: 1.5.2
>  Environment: site:sshdeploy on UNIX site.
>     Reporter: Marcel May
>     Priority: Critical
>      Fix For: 1.6.2

>
>
> site:sshdeploy can mess up home rights if part of the commands fail.
> Remote command chain like "...;cd BLA;chmod ..." should be conditionally executed if the "cd" succeeds. That way, if one command fails the others (like chmod) do not get executed in the wrong directory.
> Can lead to fatal consequences for eg ssh resource dir (.ssh) with wrong
> permissions, oops.

-- 
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