tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Schurich <>
Subject problem with FilePermission for context
Date Mon, 24 Feb 2003 16:45:22 GMT
is it possible to set a FilePermission in the catalina.policy file that 
every context can access his own directory for read & write ?

i found this somewhere in the internet:
grant codeBase "file:${doc.root}/-" {
permission "${doc.root}/-", "read,write,delete";

but i can't find anything about the variable doc.root !?!?
does doc.root means: the context's own directory? - or do i have to set 
an environment variable?


  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message