• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Tomcat read/write file permissions

Mistery

New Pleskian
Hello all, I need to deploy a tomcat webapp to let users upload files to a particular vhosts domain's data subdirectory but actually I get a File Permission error.
How should I change the default catalina.policy to solve this issue ?
I tried adding the following permissions

permission java.util.PropertyPermission "java.io.tmpdir","read";
permission java.io.FilePermission "/path/to/final-destination/directory/-","write";

but it's still not working.
Any advice ?
 
Back
Top