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. -- --------------------------------------------------------------------- Héctor Garcia Peris Dpto. Informática Instituto Valenciano de Investigaciones Económicas S.A. (Ivie) C/ Guardia Civil, 22 esc-2 1º 46020 - Valencia (Spain) Tfno.: +34 - 963190050 / +34 - 963930816 Fax.: +34 - 963190055 / +34 - 963930856 e-mail: [email protected] Web: http://www.ivie.es ---------------------------------------------------------------------- _______________________________________________ Dspace-general mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/dspace-general _______________________________________________ Dspace-general mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/dspace-general
