Nice tip Kenney !!
It should be documented somewhere.
I defined it in my .profile

Thx

Arnaud


On 14/08/07, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
>
> Ssh into minotaur and:
>
> if your shell is bash, do:   "touch .bashrc && echo umask 002 >> .bashrc"
>
> if your shell is tcsh:       "touch .tcshrc && echo umask 002 >> .tcschrc"
>
> etc etc..
>
> Note that putting the umask command in .profile does NOT work since
> wagon uses a non-login shell.
>
> -- Kenney
>
> Brian E. Fox wrote:
> > Sorry about that. It's clean now. Is there something I can set since it
> > ignores the server settings?
> >
> > -----Original Message-----
> > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 10, 2007 10:58 AM
> > To: Maven Developers List
> > Subject: Re: Umask on minotaur
> >
> > This script doesn't seem to work :
> > 86 -rw-r--r--  1 aheritier  apcvs  86918 Aug 10 07:41
> > maven-dependency-plugin-2.0-alpha-5-20070810.144005-13.jar
> >   2 -rw-r--r--  1 aheritier  apcvs     32 Aug 10 07:41
> > maven-dependency-plugin-2.0-alpha-5-20070810.144005-13.jar.md5
> >   2 -rw-r--r--  1 aheritier  apcvs     40 Aug 10 07:41
> > maven-dependency-plugin-2.0-alpha-5-20070810.144005-13.jar.sha1
> >   2 -rw-r--r--  1 brianf     apcvs    388 Jul 19 18:02
> > maven-metadata.xml
> >   2 -rw-r--r--  1 brianf     apcvs     32 Jul 19 18:02
> > maven-metadata.xml.md5
> >   2 -rw-r--r--  1 brianf     apcvs     40 Jul 19 18:02
> > maven-metadata.xml.sha1
> >
> >
> > brian,  can you fix your rights please...
> >
> > On 10/08/07, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> >> I have a similar error :
> >> [INFO] Uploading repository metadata for: 'snapshot
> >> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT'
> >> [INFO]
> > ------------------------------------------------------------------------
> >> [ERROR] BUILD ERROR
> >> [INFO]
> > ------------------------------------------------------------------------
> >> [INFO] Error installing artifact's metadata: Error while deploying
> >> metadata: SCP terminated with error: 'scp:
> >> /www/people.apache.org/repo/m2-snapshot-repository/org/apach
> >>
> > e/maven/plugins/maven-dependency-plugin/2.0-alpha-5-SNAPSHOT/maven-metad
> > ata.xml:
> >> Permission denied'
> >>
> >> I'll try to see tonight who uploaded this file the last time.
> >>
> >> Arnaud
> >>
> >> On 10/08/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> >>> there's a script to fix your own files in
> >>>
> > /www/people.apache.org/repo/m2-snapshot-repository/fix-permissions.sh
> >>> On 8/10/07, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
> >>>> Hi,
> >>>>
> >>>> Since the scp wagon doesn't honor the server settings,
> >>>> could everybody please make sure they have their umask
> >>>> set to 002 on minotaur (people.apache.org)?
> >>>>
> >>>> I tried to deploy the invoker but the metadata file wasn't
> >>>> group writable.
> >>>>
> >>>> Here's a listing:
> >>>>
> >>>>
> > [/www/people.apache.org/repo/m2-snapshot-repository/org/apache/maven/sha
> > red/maven-invoker/2.0.7-SNAPSHOT]
> > [EMAIL PROTECTED]> ls -la
> >>>> total 142
> >>>> drwxrwxr-x  2 jdcasey  apcvs   1536 Aug 10 03:34 ./
> >>>> drwxrwxr-x  5 apsite   apcvs    512 Apr 30 10:09 ../
> >>>> -rw-r--r--  1 jdcasey  apcvs  24743 Apr 30 10:09
> > maven-invoker-2.0.7-20070430.170905-1.jar
> >>>> -rw-r--r--  1 jdcasey  apcvs     32 Apr 30 10:09
> > maven-invoker-2.0.7-20070430.170905-1.jar.md5
> >>>> -rw-r--r--  1 jdcasey  apcvs     40 Apr 30 10:09
> > maven-invoker-2.0.7-20070430.170905-1.jar.sha1
> >>>> -rw-r--r--  1 jdcasey  apcvs   2559 Apr 30 10:09
> > maven-invoker-2.0.7-20070430.170905-1.pom
> >>>> -rw-r--r--  1 jdcasey  apcvs     32 Apr 30 10:09
> > maven-invoker-2.0.7-20070430.170905-1.pom.md5
> >>>> -rw-r--r--  1 jdcasey  apcvs     40 Apr 30 10:09
> > maven-invoker-2.0.7-20070430.170905-1.pom.sha1
> >>>> -rw-r--r--  1 brianf   apcvs  20757 Jul  8 16:05
> > maven-invoker-2.0.7-20070708.230500-2.jar
> >>>> -rw-r--r--  1 brianf   apcvs     32 Jul  8 16:05
> > maven-invoker-2.0.7-20070708.230500-2.jar.md5
> >>>> -rw-r--r--  1 brianf   apcvs     40 Jul  8 16:05
> > maven-invoker-2.0.7-20070708.230500-2.jar.sha1
> >>>> -rw-r--r--  1 jdcasey  apcvs  21013 Aug  9 13:58
> > maven-invoker-2.0.7-20070809.205849-2.jar
> >>>> -rw-r--r--  1 jdcasey  apcvs     32 Aug  9 13:59
> > maven-invoker-2.0.7-20070809.205849-2.jar.md5
> >>>> -rw-r--r--  1 jdcasey  apcvs     40 Aug  9 13:59
> > maven-invoker-2.0.7-20070809.205849-2.jar.sha1
> >>>> -rw-r--r--  1 jdcasey  apcvs   3264 Aug  9 13:59
> > maven-invoker-2.0.7-20070809.205849-2.pom
> >>>> -rw-r--r--  1 jdcasey  apcvs     32 Aug  9 13:59
> > maven-invoker-2.0.7-20070809.205849-2.pom.md5
> >>>> -rw-r--r--  1 jdcasey  apcvs     40 Aug  9 13:59
> > maven-invoker-2.0.7-20070809.205849-2.pom.sha1
> >>>> -rw-rw-r--  1 kenney   apcvs  21102 Aug 10 03:34
> > maven-invoker-2.0.7-20070810.103430-3.jar
> >>>> -rw-rw-r--  1 kenney   apcvs     32 Aug 10 03:34
> > maven-invoker-2.0.7-20070810.103430-3.jar.md5
> >>>> -rw-rw-r--  1 kenney   apcvs     40 Aug 10 03:34
> > maven-invoker-2.0.7-20070810.103430-3.jar.sha1
> >>>> -rw-rw-r--  1 kenney   apcvs   3264 Aug 10 03:34
> > maven-invoker-2.0.7-20070810.103430-3.pom
> >>>> -rw-rw-r--  1 kenney   apcvs     32 Aug 10 03:34
> > maven-invoker-2.0.7-20070810.103430-3.pom.md5
> >>>> -rw-rw-r--  1 kenney   apcvs     40 Aug 10 03:34
> > maven-invoker-2.0.7-20070810.103430-3.pom.sha1
> >>>> -rw-r--r--  1 jdcasey  apcvs    370 Aug  9 13:59
> > maven-metadata.xml
> >>>> -rw-r--r--  1 jdcasey  apcvs     32 Aug  9 13:59
> > maven-metadata.xml.md5
> >>>> -rw-r--r--  1 jdcasey  apcvs     40 Aug  9 13:59
> > maven-metadata.xml.sha1
> >>>> The -2 files from brianf aren't recorded in the maven-metadata
> > file,
> >>>> but the ones from jdcasey are.
> >>>> My -3 deploy failed, so I'll remove those files.
> >>>>
> >>>> Jdcasey, can you chmod 664 * in that dir?
> >>>> Brianf: can you remove your -2 files, as they are inaccessible?
> >>>> I'll remove my -3 files and redeploy once this is done.
> >>>>
> >>>>
> >>>> Thanks,
> >>>>
> >>>>         Kenney
> >>>>
> >>>>
> > ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>
> >>> --
> >>> I could give you my word as a Spaniard.
> >>> No good. I've known too many Spaniards.
> >>>                              -- The Princess Bride
> >>>
> >>>
> > ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >> --
> >> ..........................................................
> >> Arnaud HERITIER
> >> ..........................................................
> >> OCTO Technology - aheritier AT octo DOT com
> >> www.octo.com | blog.octo.com
> >> ..........................................................
> >> ASF - aheritier AT apache DOT org
> >> www.apache.org | maven.apache.org
> >> ...........................................................
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to