[ http://jira.codehaus.org/browse/WAGONSSH-44?page=comments#action_73422 ] Eric Bernstein commented on WAGONSSH-44: ----------------------------------------
Since the above comments seem to question to wagon ssh problem with file permissions, I figured I'd report one more instance of it. I've experianced the file permission problem with scp:// on both redhat and apple (In fact, I've never gotten scp:// to set permissions completely correctly). One interesting note: the filePermission issue appears somewhat unique to write permissions. Here's the results of a number of tests I ran. settings.xml config = results on server 400 = u+r 666 = u+rw,g+r,o+r 664 = u+rw,g+r,o+r (this is the one I want, obviously not the right results) 777 = u+rwx,g+rx,o+rx Wasn't sure if this was worth opening a different issue for. It seems different than the description, but the fix appears to be in Trustin's patch. > 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 > Assigned To: 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