[ http://jira.codehaus.org/browse/WAGON-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136391#action_136391 ]
Brett Porter commented on WAGON-156: ------------------------------------ ok, I'm testing this against people.apache.org with the latest code and found: * files don't exist, no settings, no umask (default of 22) - deploys as 775, 644 * files don't exist, no settings, umask 2 - deploys as 775, 664 * files don't exist, settings set fp to 666, no umask - deploys as 775, 644 (bug) * files don't exist, settings set fp to 666, umask 2 - deploys as 775, 664 (bug) * directoryPermissions works when it doesn't exist * file permissions are not changed if they already existed * sftp sets permissions correctly, but is very slow by comparison I'll look into whether the scp1 setting actually works of it is always going to use the umask > directoryPermissions is not repected when I deploy a POM > -------------------------------------------------------- > > Key: WAGON-156 > URL: http://jira.codehaus.org/browse/WAGON-156 > Project: Maven Wagon > Issue Type: Bug > Components: wagon-ssh > Environment: Debian Linux unstable, Sun JDK 1.5.0_06 > Reporter: Trustin Lee > Assignee: Brett Porter > Fix For: 1.0-beta-3 > > 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