[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] hi



On 1 Feb 2002 at 16:35, Arun Iyer wrote:


<snip>
> 
> How do i give permissions in tomcat policy file? 
> 
> There are sufficient permissions in Linux level as my perl script
> copies the file to the directory belonging to another site. 
> 
I had a similar but different problem with a Java Servlet.  It turns out that on the Raq the Tomcat 
Policy file is rewritten every time apache starts by a cobalt perl script.  

The script is located ( on our machine ) here:

    /usr/java/jakarta-tomcat/bin/cobalt_config.pl

There are several lines which begin

      print NEW_POLICY "  permission java.io .....

You will have to add your own line here with the appropriate permissions.  I am not much of a 
Java guru so I don't really know what these would be in your case.

Maybe someone else can help here ?

Ian-------------------------------------------------------------
Ian Gibbons                                                  
Fish.Net Ltd                  Providing Internet Solutions   
http://www.fishnet.co.uk      e-mail IanGibbons@xxxxxxxxxxxxx
Tel +44 (0)1457 819600        Fax +44 (0)1457 819602         
-------------------------------------------------------------