Change the following variable in your tomcat start up scripts; TOMCAT5_USER=<some-user>
If you are Linux and have installed it from a deb or rpm it will probably be in /etc/init.d/tomcat. Cheers Hayden Héctor Garcia Peris wrote: > I understand that, but where must I change it? I can't find the proper > configuration file in Tomcat (or in [dspace-source]) which tells Tomcat > which user must use. > > Thanks. > > Graham Triggs escribió: > >> You need to change the owner that your application server (Tomcat) is >> running under. >> >> You are currently running it as root, so all the files that it creates are >> being given root ownership. If you run it as the user 'dspace', then all >> files will be created with dspace ownership. >> >> Note, that you will need to reset the permissions on all your root owned >> files for DSpace to be able to access those files. >> >> G >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] >> On Behalf Of Héctor Garcia Peris >> Sent: 29 September 2009 12:03 >> To: [email protected] >> Subject: [Dspace-general] Permissions problem >> >> Hello, >> >> I have detected a problem with permissions. The [dspace] directory and >> files inside it has dspace:dspace group and owner respectively. >> >> But certain files has root:root group and user owners. This files are >> those in the assetstore and export direcctories and news-side_es.html, >> news-top_es.html, cocoon.log and dspace.log files. Both log files are >> changed when a rotation is performed, i.e., when dspace.log.1 and >> cocoon.log.1 files are created. How can I keep dspace:dspace owners in >> those files? >> >> Thanks. >> >> >> > > _______________________________________________ Dspace-general mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/dspace-general
