fix issue531 permissions in threepeas