Mr. Mubarak’s wife, Suzanne, who portrayed herself as a champion of women’s rights, pretended the problem hardly existed. As reports of harassment grew in 2008, she said, “Egyptian men always respect Egyptian women.”

Egypt’s new president, Mohamed Morsi, has presided over two holidays, and many activists say there is no sign that the government is paying closer attention to the problem. But the work by the citizens groups may be having an effect: Last week, after the Id al-Adha holiday, Mr. Morsi’s spokesman announced that the government had received more than 1,000 reports of harassment, and said that the president had directed the Interior Ministry to investigate them.

“Egypt’s revolution cannot tolerate these abuses,” the spokesman quoted Mr. Morsi as saying.

Azza Soliman, the director of the Center for Egyptian Women’s Legal Assistance, dismissed the president’s words as “weak.” During the holiday, she said, one of her sons was beaten on the subway after he tried to stop a man who was groping two foreign women. The police tried to stop him from filing a complaint. “The whole world is talking about harassment in our country,” Ms. Soliman said. “The Interior Ministry takes no action.”

For years, anti-harassment activists have worked to highlight the problems in Egypt, but the uprising seemed to give the effort more energy and urgency.

Over the holiday, the groups staked out different parts of Cairo’s downtown. One avoided any violence, forming human chains between women and their tormentors. The other group forcefully confronted men and boys it suspected of harassment, smacking around suspects before hauling them off to a police station.

One of that group’s founders, Sherine Badr el-Din, 30, started her work as an anti-harassment activist by asking men to get off the women-only cars on the Cairo subway, regarded as a safe zone. When they refused, she videotaped them and posted their pictures on the Internet, she said.

Last summer, one of the men attacked her. “I wanted to file a case, but the police officer refused, claiming they were only there to monitor the train schedules.” She said the group escalated its tactics out of frustration, after the police started releasing suspects the group had caught.