apache tomcat user and ispconfig user rights (web1 client0)

Discussion in 'Installation/Configuration' started by sygram, Mar 14, 2016.

  1. sygram

    sygram Member

    Hi there,

    i am pretty sure someone has faced this one before.

    I have to run apache tomcat on one of my websites. Everything is setup up and running but tomcat server is run by user "tomcat" (security issues). The directory web is owned by web1.client0 with rights : drwx--x--x

    In order for tomcat server to run i have to change the permissions to web folder to tomcat.tomcat . If i change this i think ispconfig will change them back or might not have access for some tasks. I think it is advised not to provide more rights e.g. read and write to group.

    Is there a way to provide user tomcat read and write access to a directory owned by web1 ? What would be the most secure and worry free resolution ?

    Thank you very much

    Regards
     
  2. ztk.me

    ztk.me Active Member

    Either adding the users to tomcat group or run different instances of tomcat it is - not 100% since I've never setup tomcat in shared hosting envs
     

Share This Page