[ http://jira.codehaus.org/browse/WAGONSSH-44?page=comments#action_63114 ] 

Brett Porter commented on WAGONSSH-44:
--------------------------------------

I'd still like to investigate this some more for the wagon-ssh one. I don't 
understand the circumstances where C0664 doesn't work as it has on the systems 
I've tried. It's reported as a problem uploading to minotaur and a RHEL box by 
Trustin. I'll check.

The reason not to apply the first patch immediately is that it will add an 
extra connection, further slowing an already sluggish deploy process. The 
second patch should be good to go, however

> directoryPermissions is not repected when I deploy a POM
> --------------------------------------------------------
>
>          Key: WAGONSSH-44
>          URL: http://jira.codehaus.org/browse/WAGONSSH-44
>      Project: wagon-ssh
>         Type: Bug

>  Environment: Debian Linux unstable, Sun JDK 1.5.0_06
>     Reporter: Trustin Lee
>     Assignee: Brett Porter
>  Attachments: wagon-permission-patch.diff
>
>
> It seems like 'directoryPermissions' doesn't work at all though 
> 'filePermissions' do.  I tried both scp and scpexe.  Nothing worked.  I also 
> changed my umask to 002, but it didn't help at all.
> If you have committership in the Apache Directory Project (Brett? :), then 
> you can try it by yourself:
> --------
> svn co https://svn.apache.org/repos/asf/directory/trunks/ directory
> cd directory
> mvn --non-recursive deploy
> --------
> This is my ~/.m2/settings.xml
> --------
> <?xml version="1.0" encoding="UTF-8"?>
> <settings>
>   <servers>
>     <server>
>       <id>apache.snapshots</id>
>       <username>trustin</username>
>       <privateKey>/home/trustin/.ssh/id_rsa</privateKey>
>       <directoryPermissions>0775</directoryPermissions>
>       <filePermissions>0664</filePermissions>
>     </server>
>   </servers>
> </settings>
> --------

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

Reply via email to