we have a webapp running on a Linux server with tomcat6 which creates folders and files on the local filesystem. The site is hosted by a third party, which is pretty strict on their security settings. So they gave us a few user accounts wich are in the tomcat6 group, the same as the webapp is in. The problem is that every file that is created by the webapp has only write rights for the owner and not for the group.
I've been looking on the web for a while to see if there is a way that we can setup the webapp so that everything that is created gets all rights for both owner as group. But since i'm a programmer and not a server expert, I didn't manage to find some clear info on this. Or should we just be changing this in our code so the webapp just takes care of it?
Thanks in advance for any advice.