I'm trying to create folders and save files to these folders running my applications through tomcat. The problem is that when I'm creating a folder it gets the permission: rw-r--r-- when I then want to create a folder or file in that folder I don't have permission to do that. What do I have to do to be able to create folders with the permissions rwxr--r-- running from tomcat. I can do this when I'm not using tomcat. Can I make some configurations to make this work?