Changed the permissions on the metadata directory

The metadata directory should now be writeable by the tomcat process.