Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-156

directoryPermissions is not repected when I deploy a POM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-3
    • wagon-ssh
    • None
    • Debian Linux unstable, Sun JDK 1.5.0_06

    Description

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

      Attachments

        1. wagon-permission-patch.diff
          3 kB
          Trustin Lee

        Issue Links

          Activity

            People

              brett Brett Porter
              trustin Trustin Lee
              Votes:
              18 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: