Cycloalkyltriols containing heterocyclic substituents, in particular cyclopentyl- and cyclohexyltriols containing heterocyclic substituents Compounds of the formulae I and II ##STR1## in which the substituents A, R.sup.1, R.sup.2 and R.sup.3 and n have the meanings given, have an antiviral and antiparasitic action.