lamadredelsapo
February 26th, 2007, 06:11 PM
I'm trying to grant read permissions to a local folder from a web service, but even though I've added the following
grant codeBase "file:/home/fernando/movies" {
permission java.io.FilePermission "<<ALL FILES>>", "read";
};
grant codeBase "file:/home/fernando/movies/*" {
permission java.io.FilePermission "<<ALL FILES>>", "read";
};
into the catalina.policy file I'm not able to put it to work. Any ideas?
grant codeBase "file:/home/fernando/movies" {
permission java.io.FilePermission "<<ALL FILES>>", "read";
};
grant codeBase "file:/home/fernando/movies/*" {
permission java.io.FilePermission "<<ALL FILES>>", "read";
};
into the catalina.policy file I'm not able to put it to work. Any ideas?