The invention relates to a cosmetic process for treating keratin materials comprising: (i) the application to the keratin materials of a composition comprising a polymer (I): in which R 'independently represents H or an acetyl group or a group - CO-L-SH, the polymer containing at least one group R '= -CO-L-SH, L being a divalent hydrocarbon group comprising from 1 to 20 carbon atoms n varies from 5 to 2000. Application for the treatment of odors human body, to fight against the formation of scalp dandruff, to give hair the softness and / or ease of combing hair. L'invention concerne un procédé cosmétique pour traiter les matières kératiniques comprenant : (i) l'application sur les matières kératiniques d'une composition comprenant un polymère (I) : dans laquelle R' représente indépendamment H ou un groupement acétyle ou un groupement -CO-L-SH, le polymère renfermant au moins un groupement R' = -CO-L-SH , L étant un groupe divalent hydrocarboné comprenant de 1 à 20 atomes de carbone n varie de 5 à 2000. Application pour le traitement des odeurs corporelles humaines, pour lutter contre la formation des pellicules du cuir chevelu, pour conférer aux cheveux de la douceur et/ou facilité le peignage des cheveux.