fix perms in repo