Make sure the owner has permission before setting names. Fixes #137