directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <elecha...@gmail.com>
Subject Re: [m2-snapshot-repo] Permissions need to be massaged to allow group read write access
Date Fri, 27 Jul 2007 07:11:39 GMT
Hi,

I just have to deploy shared, but I don't have my usual computer. Can
someone provide me a settings.xml file ?

Thanks !

On 7/27/07, Enrique Rodriguez <enriquer9@gmail.com> wrote:
> On 7/25/07, David Jencks <david_jencks@yahoo.com> wrote:
> > we did a couple of experiments here and we think you need to:
> >
> > set umask 2 in .bashrc.  For non-interactive remote shell access such as
> > through scp this is the file executed, not .bash_profile
> >
> > in ~/.m2/settings.xml set
> >
> >            <directoryPermissions>775</directoryPermissions>
> >            <filePermissions>664</filePermissions>
> > for each repository you are deploying to.  We're not so sure about the 2nd
> > point, but this works for me and we found that the source file permissions
> > do have an effect on the target file permissions together with the umask,
> > and these settings affect what maven presents as the source file
> > permissions.
>
> The combination of both of these settings (.bashrc && settings.xml)
> worked for me.  Nice!
>
> With just umask it didn't work.
>
> Enrique
>


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message