Maven 1.x Artifact Plugin
  1. Maven 1.x Artifact Plugin
  2. MPARTIFACT-30

Files are not made group writeable by the scp protocol

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1
    • Labels:
      None
    • Number of attachments :
      0

      Description

      plugin:repository-deploy:
      [echo] maven.repo.list is set - using artifact deploy mode
      Will deploy to 1 repository(ies): sourceforge-mp
      Deploying to repository: sourceforge-mp
      Deploying: C:\source\sourceforge\maven-plugins\dbunit\project.xml-->maven-plugins/poms/maven-dbunit-plugin-1.2.pom
      Executing command: mkdir -p /home/groups/m/ma/maven-plugins/htdocs/maven//maven-plugins/poms

      Executing command: chgrp maven-plugins /home/groups/m/ma/maven-plugins/htdocs/maven//maven-plugins/poms/maven-dbunit-plugin-1.2.pom

      Deploying: C:\source\sourceforge\maven-plugins\dbunit\project.xml.md5-->maven-plugins/poms/maven-dbunit-plugin-1.2.pom.md5
      Executing command: mkdir -p /home/groups/m/ma/maven-plugins/htdocs/maven//maven-plugins/poms

      Executing command: chgrp maven-plugins /home/groups/m/ma/maven-plugins/htdocs/maven//maven-plugins/poms/maven-dbunit-plugin-1.2.pom.
      md5

      Note: there is no chmod g+w above.

        Issue Links

          Activity

          Hide
          Mark Church added a comment -

          Wouldn't setting a umask of 002 on the server you are deploying too solve this issue with changes to the code?

          Show
          Mark Church added a comment - Wouldn't setting a umask of 002 on the server you are deploying too solve this issue with changes to the code?
          Hide
          dion gillard added a comment -

          Sure it would, but why assume everyone uses umask 002

          Show
          dion gillard added a comment - Sure it would, but why assume everyone uses umask 002
          Hide
          Carlos Sanchez added a comment -

          This causes a problem when deploying to apache cvs repo, files have to be made group writable by hand as SNAPSHOTs can be overwritten by other developer

          Show
          Carlos Sanchez added a comment - This causes a problem when deploying to apache cvs repo, files have to be made group writable by hand as SNAPSHOTs can be overwritten by other developer
          Hide
          Jörg Schaible added a comment -

          MPARTIFACT-29 is the same for scpexe

          Show
          Jörg Schaible added a comment - MPARTIFACT-29 is the same for scpexe
          Hide
          Brett Porter added a comment -

          fixed - will commit later

          Show
          Brett Porter added a comment - fixed - will commit later

            People

            • Assignee:
              Unassigned
              Reporter:
              dion gillard
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: