Hi Andrew,

> I mistakenly thought that my access denied problem with DSpace and xmlui was
> to do with logging. Actually I think it might be to do with the default java
> security policy, which might be more strictly enforced in java6. I think I
> need some sort of 'grant' directive for File.Permission but I am not sure
> exactly what. Also I don't want it to go in the global policy file, but
> rather, one that is specific to DSpace (xmlui). Can anyone help me please?

You'll want to grant Tomcat the permission to read and write to files and
directories in [dspace]/ and other directories such as the search index
directories if they are stored outside of [dspace] (e.g. we keep our search
indexes on local disks, and [dspace] on a mounted external server).

You can be more precise if you want (e.g. just read permissions for
[dspace]/config/* just in case someone hacks Tomcat and manages to read your
database password from dspace.cfg) but a general grant of all permissions on
[dspace]/ is probably sufficient.

http://tomcat.apache.org/tomcat-6.0-doc/security-manager-howto.html suggests
that it is only possible to have a single catalina.policy file for a tomcat
instance, not one per webapp.

Thanks,


Stuart
_________________________________________________________________

Gwasanaethau Gwybodaeth                      Information Services
Prifysgol Aberystwyth                      Aberystwyth University

            E-bost / E-mail: [email protected]
                 Ffon / Tel: (01970) 622860
_________________________________________________________________


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to