The din is that for an eruv to be kosher everyone in the 'building' has to join. In the olden times each one provided food. If somebody didn't want to, it could be taken by force. Today one person provides the food and is 'mezake' everyone with it (gives it for everyone). What is the din if one person doesn't want to join? Can one be 'mezake' one, even if he refuses?
The Dirshu Mishne Berura 367/footnote 10 brings two opinions regarding this question.
The Pri Migadim and the Chazon Ish question the validity of being mezakeh against his will, and the Machzeh Avraham who is certain that one cannot be mezakeh against his will.
Rav Shlomo Kluger on the other hand brings a proof that one can be mezakeh against someones will, when it is a pure zechus, which he says an eyruv is. However, even Rav Shlomo Kluger is only talking about where he gave an eyruv in the past, it is not clear to me if he would allow this when someone never participated in the eyruv.
It is a problem by most communal Eruvin that face opposition.
It is from the (three) reasons why most Yeshivish Bnei Torah do not rely on communal Eruvin outside areas like bungalow colonies.
The communal Eruvin get around this problem by relying on the Rashba who says that large ships that are divided into rooms that are rented to various travelers, each in his own room,you should rent the right to carry throughout the ship from its owner. IOW you make an umbrella rental of all properties.
Some Poskim hold that the police's or utility companies right of entry is a sufficient measure of control to contract from them an umbrella sechiras reshus. Because they are considered like employees that possess authority in the entire area for the government's needs. It is considered tantamount to the police having borrowed space in each resident's dwelling. Therefore they have the ability to join the Eruv.