Change the right of the protofile