> -----Original Message-----
> From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
> Sent: 31. mars 2003 15:53
> To: Maven Users List
> Subject: Re: Newbie - Permission denied on several files
>
>
>
>     Aslak,
>
>     I have no time to apply the patch myself, so I'll give write

You can apply the patch in less than a minute. (You must be a really busy
guy).

1) Detach the patch3.txt file to the maven root dir (your CVS checkout).
Then do:
2) patch -p 0 < patch3.txt

Then you must rebuild.

> permissions to all users (really just me, as I'm talking about my work
> machine at home). Anyway I think this is a must for a final version.
> Without this, I don't understand how could you install this in a
> Unix/linux environment without a lot of troubles.
>

Then vote for MAVEN-302 in JIRA ;-)

>     Regards
>     Jose
>
> Aslak Helles�y wrote:
>
> >If you install Maven as root and want non-root users to use it,
> you should
> >have a look at this patch:
> >
> >http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-302
> >
> >What's the status of this patch? Is it something you're considering to
> >apply?
> >
> >Aslak
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
> >>Sent: 31. mars 2003 14:28
> >>To: [EMAIL PROTECTED]
> >>Subject: Newbie - Permission denied on several files
> >>
> >>
> >>
> >>    Hi there,
> >>
> >>    I'm a newbie trying to start my first maven project. I have
> >>installed maven as root under /opt/maven (as I have seen that the maven
> >>script tries to locate this directory as the default MAVEN_HOME) and
> >>after that I have tried to run maven genapp as another user (not root).
> >>Trying to do this gives me a lot of  exceptions:
> >>
> >>        java.io.FileNotFoundException:
> >>/opt/maven/plugins/maven-genapp-plugin-1.0/some-name.cache (Permission
> >>denied)
> >>
> >>    After giving write permissions to all *.cache files I got the same
> >>error for the following file:
> >>
> >>        /opt/maven/plugins/maven-genapp-plugin-1.0/.processed
> >>
> >>    As this seems to be some kind of flag indicating that a plugin has
> >>been processed I thought that this shouldn't work like this as this
> >>could cause problems with concurrent users using the same maven copy. Is
> >>this correct? Am I missing anything here? Maybe there's any environment
> >>variable I should set in order to use local copies of this files for
> >>maven to write them? Or should I simply give write permissions to all
> >>users (or at least to all users in a given group)?
> >>
> >>    Regards
> >>    Jose
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>


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

Reply via email to