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/05 20:34:03 UTC
[jira] Closed: (WAGONSSH-8) patch: scp: honour repository directory permission mode
[ http://jira.codehaus.org/browse/WAGONSSH-8?page=all ]
Trygve Laugstol closed WAGONSSH-8:
----------------------------------
Assign To: Trygve Laugstol
Resolution: Fixed
Fix Version: 1.0-alpha-5
Applied, thanks. Please make sure you follow our code style conventions.
> patch: scp: honour repository directory permission mode
> -------------------------------------------------------
>
> Key: WAGONSSH-8
> URL: http://jira.codehaus.org/browse/WAGONSSH-8
> Project: wagon-ssh
> Type: Improvement
> Reporter: Juan F. Codagnone
> Assignee: Trygve Laugstol
> Fix For: 1.0-alpha-5
> Attachments: scp-honour-mode.diff
>
>
> makes the Scp wagon to honor the directory mode. follow (posix?) mkdir conventions ("By default, the mode of created directories is 0777 (`a+rwx') minus the bits set in the umask").
> It remains the question whether the directory mode string should be shell escaped or if it was already validated before, or we trust the user (the best option!)
> M2 pom model doesn't support permission definition (¿yet?) so to test you need to inject some permisions when the Repository is created (i did it at org.apache.maven.artifact.manager.DefaultWagonManager@line 142)
--
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