"all but one refused to do" means everyone do it or only one did it? [duplicate]

It means that all refused to do and only one did it. Sometimes rearranging the structure helps to clarify: "all refused to do [it] but one."