Thanks for the assistance. I've got things working now. In my case I just manually create the .m2 directory and will run everything under Tomcat.
-Eric -----Original Message----- From: Mark H. Wood [mailto:[email protected]] Sent: February-05-10 6:17 AM To: [email protected] Subject: Re: [Dspace-tech] DSpace 1.5.2 cocoon.log access problems (continued) On Thu, Feb 04, 2010 at 03:15:50PM -0800, Eric Schewe wrote: > Except for the problem that the Tomcat users home directory is > /usr/share/tomcat5 which it doesn't have enough permission to create a > '.m5' folder in when you run 'mvn package'. I was not speculating; I operate four production DSpace instances this way. But why would I be running Maven under a production account? > Re-configuring the Tomcat home directory will more than likely break > Tomcat. Perhaps. On Gentoo Linux it doesn't break. My production Tomcat accounts have their homes in /home/tomcat. I do believe that I moved them there. If Tomcat is properly set up, it shouldn't know or care about the location of the home directory for the account that happens to be running it. I just looked at one, and the only thing in that directory that I didn't put there is the '.handle' directory, which isn't part of Tomcat. > Guess you need a dspace user to build dspace with and then run > everything under Tomcat after it's built. Or create a '.m5' directory > manually with the correct permissions. I just log onto the box with my personal account, check out the local version of DSpace that I want to install, package it, 'su' to tomcat, and run ant over the packaging. Some years ago we had accounts named 'dspace', but no longer. -- Mark H. Wood, Lead System Programmer [email protected] Friends don't let friends publish revisable-form documents. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

