Maven repo deploy permissions

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

  • Next message: Andrus Adamchik: "Re: Maven repo deploy permissions"

    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:30:09 EST