Source: שבת ח. (Shabbos 8a) · Category: Fascinating Topics

The Gemara in שבת ח. (Shabbos 8a) discusses an object standing in a reshus harabim: Ulla says that a post nine tefachim high, which the public uses to adjust their burdens or loads on, becomes part of the public domain.

The interesting part is that Rava argues with Rav Yosef. Rav Yosef holds that the same is true of a hole: one that the public uses becomes part of the reshus harabim. Rava says this rule does not apply to a hole. A hole is not considered part of the public domain, even if the public occasionally uses it, because “תשמיש על ידי הדחק לא שמיה תשמיש” (a forced usage is not considered a proper usage), so it is not rendered part of the public domain. So even if it’s used as a storage bin, with difficulty, the function cannot be described as fulfilling a public need, and it is instead treated like a karmelis according to that opinion (Rashi there).

Rashi

Rashi explains the question: the public might leave things they are carrying in the hole and come back for them, so the public needs it and it would be a reshus harabim. According to Rava, since that use is forced, it is not a public need, and the hole is a karmelis.

Shabbos 8a