Permissions ro (rebased onto develop)



This is the same as gh-918 but rebased onto develop.

----

Fix permissions issues noticed during testing
see https://trac.openmicroscopy.org.uk/ome/ticket/10544
https://trac.openmicroscopy.org.uk/ome/ticket/10545