various changes to permissions