1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Tomcat read/write file permissions

Discussion in 'Plesk for Linux - 8.x and Older' started by Mistery, Feb 23, 2005.

  1. Mistery

    Mistery New Pleskian

    22
    40%
    Joined:
    Jul 18, 2004
    Messages:
    6
    Likes Received:
    0
    Location:
    Italy
    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 ?
     
Loading...