directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Rodriguez" <enriqu...@gmail.com>
Subject Re: [m2-snapshot-repo] Permissions need to be massaged to allow group read write access
Date Fri, 27 Jul 2007 02:35:17 GMT
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

Mime
View raw message