What permissions are needed for Omeka to work

Hi,

What permissions need to be set on Omeka to allow it to work. I'm trying to set the bare minimum permissions on Omeka.

At the moment, if I remove www-data as the owner on the applications folder, it stops Omeka from working. What does Omeka need write/execute access to there?

Cheers,

Matt

I figured this out in the end, it was the logs folder.