a method for the temporary protection of metal surfaces from corrosion is provided in which the metal surface to be temporarily protected from corrosion is coated with a guanidinium salt of an unsaturated fatty acid containing 6 to 44 carbon atoms .