The officially official Devuan Forum!

You are not logged in.

#1 2024-11-12 17:57:09

IdeaFix
Member
Registered: 2020-01-02
Posts: 20  
Website

allow tomcat9 to read and write not only in sandbox

Hi.

All manuals are about systemd units. I tried to edit /etc/default/tomcat9 with this lines

AUTHBIND=yes
TOMCAT9_SECURITY=yes
SECURITY_MANAGER="true"

Also i made  /etc/tomcat9/policy.d/06my.policy

with text inside:

grant codeBase "file:/opt/dir1/-" {
  permission java.security.AllPermission;
};
grant codeBase "file:/tmp/-" {
  permission java.security.AllPermission;
};

but it is not working at all.

Offline

Board footer