Here you have to consider the week O-O bond. The positive polarisation of H will induct over the first oxygen. It is electrophil. In the epoxy-reaction the doublebond of the alkene will attract the slighltly positve OH instead of an H+ what would happen with an normal acid. After forming the carbo cation. The negative acetate attracts the hydrogen and the ring will be closed.