[Dspace-general] Permissions problem

Héctor Garcia Peris hector.garcia at ivie.es
Tue Sep 29 08:53:19 EDT 2009


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: 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
----------------------------------------------------------------------




More information about the Dspace-general mailing list