Respect geom permissions. Fixes #499.