Hi

Am Mittwoch, den 24.10.2007, 08:48 -0600 schrieb Chris Custine:
> This is a byproduct of the maven deploy plugin.  The best way to take care
> of this is to have everyone doing snapshot deployments do the following
> things:
> 
> 1). set umask 2 in ~/.bashrc (user's home on people.apache.org)
> 2). in ~/.m2/settings.xml on your development machine, set the following
> settings for each repository entry that you deploy snapshots to.:
>            <directoryPermissions>775</directoryPermissions>
>            <filePermissions>664</filePermissions>
> 
> Hope this helps!

Thanks for the hints. In fact step 2 without step 1 does not help - and
it has to be ~/.bashrc, bash_profile is not enough....

Anyway, this fixed the deployment issues I had and caused to others.

Regards
Felix

> 
> Chris
> 
> On 10/24/07, Richard S. Hall <[EMAIL PROTECTED]> wrote:
> >
> > We have an issue with our snapshot repo...
> >
> > I just tried to "mvn deploy" the framework subproject and I get a
> > permission denied error:
> >
> > [INFO] Error installing artifact's metadata: Error while deploying
> > metadata: SCP terminated with error: 'scp:
> >
> > /www/people.apache.org/repo/m2-snapshot-repository/org/apache/felix/org.apache.felix.framework/1.1.0-SNAPSHOT/maven-
> > metadata.xml:
> > Permission denied'
> >
> > Looking into the snapshot repo we see:
> >
> > -rw-r--r--  1 fmeschbe  apcvs     376 Aug 21 12:13 maven-metadata.xml
> >
> > So, it looks like Felix previously deployed a snapshot and now I no
> > longer have permission to deploy a snapshot since I cannot overwrite his
> > file. What is going on here? I would assume that Maven would allow
> > multiple people to work together. Do we have something configured
> > incorrectly?
> >
> > -> richard
> >

Reply via email to