[EMAIL PROTECTED] wrote:
FYI, there's also a script on minotaur to help fix files with
incorrect permissions:
/www/people.apache.org/repo/m2-snapshot-repository/fix-permissions.sh
So, I guess I need to get Felix to run this script...
-> richard
(needs to be run from /www/people.apache.org/repo/m2-snapshot-repository)
On 24/10/2007, Chris Custine <[EMAIL PROTECTED]> wrote:
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!
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