Ruthenium-catalysed linear-selective allylic alkylation of allyl acetates.