[Dspace-general] Permissions problem
Graham Triggs
graham at biomedcentral.com
Tue Sep 29 08:03:45 EDT 2009
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: dspace-general-bounces at mit.edu [mailto:dspace-general-bounces at mit.edu] On Behalf Of Héctor Garcia Peris
Sent: 29 September 2009 12:03
To: dspace-general at mit.edu
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: hector.garcia at ivie.es
Web: http://www.ivie.es
----------------------------------------------------------------------
_______________________________________________
Dspace-general mailing list
Dspace-general at mit.edu
http://mailman.mit.edu/mailman/listinfo/dspace-general
More information about the Dspace-general
mailing list