openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: M2 repo perms - anyone able to fix it?
Date Tue, 01 Apr 2008 19:03:25 GMT

On Mar 31, 2008, at 5:21 AM, Jacek Laskowski wrote:

> Hi,
>
> Could someone chmod -R 664 . in
> /www/people.apache.org/repo/m2-snapshot-repository/org/apache/openejb.
> Can't publish the latest binaries and Continuum chokes not being able
> to find necessary jars.

Hi Jacek,
Please note that 664 is appropriate for files, only. Directories need  
to be 775. There's currently a problem with all the 3.1-SNAPSHOT  
directories (or at least some of them). For instance:

'ls -la /www/people.apache.org/repo/m2-snapshot-repository/org/apache/ 
openejb/openejb-itests-beans/' will show:

drw-rw-r--   2 jlaskowski  apcvs    512 Mar 31 07:41 3.1-SNAPSHOT

fixpermissions.sh should fix these.

I use the following in my .m2/settings.xml, which should avoid the  
problem, all together:

       <server>
         <id>apache.releases</id>
         <username>my-apache-login</username>
         <passphrase>my-apache-pw</passphrase>
         <directoryPermissions>775</directoryPermissions>
         <filePermissions>664</filePermissions>
       </server>
       <server>
         <id>apache.snapshots</id>
         <username>my-apache-login</username>
         <passphrase>my-apache-pw</passphrase>
         <directoryPermissions>775</directoryPermissions>
         <filePermissions>664</filePermissions>
       </server>

--kevan

Mime
View raw message