Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 392…
“ Paragraph 1 - If a city was once the property of an individual, even if it becomes the property of many, everyone can make one partnership and carry within the whole municipality. Similarly, if it belongs to many but it only has one entrance, everyone can make one partnership. However, if it belongs to many and has two entrances in which the nation enters and exits, even if it becomes the property of an individual, everyone cannot make an eruv. Rather, one space must be left, even one house with one house inside, the rest can make a partnership. ”
