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]
