|
From: <php...@li...> - 2009-04-29 20:32:44
|
<3af...@ma...>
<200...@te...>
<3af...@ma...>
<3af...@ma...> <3af...@ma...>
Message-ID: <ef694f0b3cfec3015febb4fe6e11ef83@localhost>
X-Sender: and...@te...
Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29 Apr
2009 09:34:29 -0300
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hello,
I will verify what are the JSP permissions.
Debian Policy does not allow a package manipulate configuration files
from other packages.
Because of this, the right way is to create a new own file at policy.d
directory
I tested
/etc/tomcat5.5/policy.d/60JavaBridge.policy
containing:
grant codeBase "file:${catalina.base}/webapps/JavaBridge/-"
{
permission java.security.AllPermission;
};
And it worked well after restarting tomcat.
I simply placed the war file at the autodeploy dir and automagically all
worked.
I will try to create a new package using the debconf tools for manipulating
the new
file and test it.
Regards.
Andre Felipe
On Wed, 29 Apr 2009 22:22:26 +0200,
php...@li... wrote:
> I think PHP should have the same permissions tha JSP has.
>
> If I understand Java's security correctly, we only need to place the
> JavaBridge.jar into the same directory from which the JSP library is
> loaded.
>
> Unfortunately I can't verify this at the moment.
>
> Regards,
> Jost Boekemeier
--
http://www.techforce.com.br
A Debian user never dies. Issues a last command:
#shutdown -h now
|