DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17775>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17775

java.security.AccessControlException: access denied (java.io.FilePermission error

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2003-03-08 14:24 -------
Thanks for reporting this.  I have committed a patch to CVS which
makes sure a read FilePermission for the web application directory
itself is added in addition to a read FilePermission for its contents.

This fix will be available in the next Tomcat release, 4.1.22.

To get around this for now you can add a second FilePermission.

You need two FilePermission's, one for the webapp/myapp directory,
and one for its contents. Like this:

permission java.io.FilePermission "${catalina.home}/webapps/myapp", "read";
permission java.io.FilePermission "${catalina.home}/webapps/myapp/-",
"read,write,delete";

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to