fix up repo perms