[ http://jira.codehaus.org/browse/WAGONSSH-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102106 ]
Benjamin Bentmann commented on WAGONSSH-44: ------------------------------------------- I'm still experiencing the fact, that ScpWagon does neither properly honor the <filePermissions> nor sets usable permissions (664) by default. The missing write permission for the group is especially quite frustrating when multiple developers work on a single project. We're using Maven 2.0.7 and currently have not found any solution that allows for smooth deployment via SSH. SFTP struggles with ownerships (http://jira.codehaus.org/browse/WAGONSSH-42) and SCP needs manual correction to the file permissions (fortunately, only after the initial deploy). It's getting a little off-topic right now, but I would appreciate any hints on how to replace the bundled versions of Wagon-Providers. From my testing I got the impression, that Maven currently ignores the <version> element when specifying the <extension> for Wagon. It always seems to use the classes bundled in its maven-core-2.0.7-uber.jar. > directoryPermissions is not repected when I deploy a POM > -------------------------------------------------------- > > Key: WAGONSSH-44 > URL: http://jira.codehaus.org/browse/WAGONSSH-44 > Project: wagon-ssh > Issue 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