Re: Maven repo deploy permissions

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Nov 09 2009 - 05:31:07 EST

  • Next message: Kevin Menard: "Re: Maven repo deploy permissions"

    Sorry, the correct repo path is this in the instructions from the
    previous message:

    /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/
    cayenne/

    Andrus

    On Nov 9, 2009, at 12:29 PM, Andrus Adamchik wrote:

    > Kevin,
    >
    > could you please update file permissions on the files that you
    > created in the repo per these instructions on people.apache.org:
    >
    > /www/people.apache.org/repo/m2-ibiblio-rsync-repository/README.txt:
    >
    > find /www/www.apache.org/dist/maven-repository/org/apache/cayenne ! -
    > perm 775 -type d -user kmenard -exec chmod 775 {} \;
    > find /www/www.apache.org/dist/maven-repository/org/apache/cayenne ! -
    > perm 664 -iname "maven-metadata.xml*" -user kmenard -exec chmod 664
    > {} \;
    > find /www/www.apache.org/dist/maven-repository/org/apache/cayenne ! -
    > perm 644 ! -iname "maven-metadata.xml*" -type f -user kmenard -exec
    > chmod 644 {} \;
    >
    >
    > Otherwise I am getting the following error:
    >
    > [INFO] Error installing artifact's metadata: Error while deploying
    > metadata: Error occurred while deploying 'org/apache/cayenne/plugins/
    > maven-cayenne-modeler-plugin/maven-metadata.xml' to remote
    > repository: scp://people.apache.org/www/people.apache.org/repo/m2-
    > ibiblio-rsync-repository: SCP terminated with error: 'scp: /www/
    > people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/
    > cayenne/plugins/maven-cayenne-modeler-plugin/maven-metadata.xml:
    > Permission denied'
    >
    > Thanks,
    > Andrus
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Nov 09 2009 - 05:31:39 EST