tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laura Reising <>
Subject Re: catalina.policy: "file:"?
Date Wed, 09 Jan 2002 11:05:16 GMT
Hello Roshan,

> So the grant in the snippet below uses a "file" URL to give classes from
> the ${work.dir}  read access to all files under ${doc.root} directory and
> read, write, delete access to files under ${work.dir} directory. The "-"
> following the "/" refers to all files in a directory and all its
> subdirectories

I think I understand that. But why doesn't this work for me:

grant codeBase "file:${doc.root}/-" {
 permission "${doc.root}/-", "read, write,

Shouldn't this grand _any_ "file" (Servlet, JSP-File) in the filesystem
under "${doc.root}" the rights to read, write und delete _any_ file in
the filesystem under "${doc.root}"???

What I get is: access denied


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message