The censors of Goskino had decided to prevent the film's release but Leonid Brezhnev, who was sworn in as the Soviet president less than a year before, saw the film and expressed his fondness for Leonid Gaidai's work. Due to Brezhnev's appreciation, the censors reconsidered their initial decision and the movie was officially released.
Yuriy Nikulin and Evgeniy Morgunov initially refused to be part of the film as they felt the screenplay was too unrealistic.
The film was even more popular than Leonid Gaidai previous work and topped the Soviet box office in 1967 with 76.54 million viewers.