Shulchan Aruch, Orach Chayim Siman 540

Siman 540

Presented here for study, not as a practical ruling. The Shulchan Aruch rules by Sephardi custom, the Rema's glosses by Ashkenazi custom, and the Kitzur follows Ashkenazi custom. For a practical question, ask your rabbi.

א בִּנְיָן, אֲפִלּוּ כָּל שֶׁהוּא, אָסוּר; וְאִם נִפְרַץ גֶּדֶר גִּנָּתוֹ אוֹ כֹּתֶל חֲצֵרוֹ שֶׁבֵּינוֹ לַחֲבֵרוֹ (מָרְדְּכַי פ"ק דמ"ק וְהַגָּהוֹת מַיְמוֹנִי פ"ח), בּוֹנֶהוּ מַעֲשֵׂה הֶדְיוֹט דְּהַיְנוּ שֶׁמַּנִּיחַ אֲבָנִים זוֹ עַל זוֹ וְאֵינוֹ טָח בַּטִּיט; אוֹ גּוֹדֵר אוֹתוֹ בְּקָנִים וְגוּמָא וְכַיּוֹצֵא בָּהֶם. וְכֵן אִם עָשָׂה מַעֲקֶה לַגַּג, בּוֹנֶה אוֹתוֹ מַעֲשֵׂה הֶדְיוֹט; אֲבָל כֹּתֶל חָצֵר הַסָמוּךְ לִרְשׁוּת הָרַבִּים שֶׁנָּפַל, בּוֹנֶהוּ כְּדַרְכּוֹ; וְאִם הָיָה נוֹטֶה לִפֹּל, סוֹתְרוֹ מִפְּנֵי הַסַכָּנָה וּבוֹנֶה כְּדַרְכּוֹ. הַגָּה: וַאֲפִלּוּ אֵינוֹ נוֹטֶה רַק לֶחָצֵר אוֹ לַמָּבוֹי, מֻתָּר לְסָתְרוֹ מִפְּנֵי הַסַּכָּנָה וְלַחֲזֹר וְלִבְנוֹתוֹ; וְכֵן בִּשְׁאָר דְּבָרִים דְּאִיכָּא לְמֵיחַשׁ לְסַכָּנָה, בּוֹנֶה וְסוֹתְרוֹ כְּדַרְכּוֹ (בֵּית יוֹסֵף בְּשֵׁם רַבֵּנוּ יְרוּחָם בנ"י).
1 Laws of Building and Demolishing on Chol HaMoed, in it is 8 paragraphs. Building even a bit is forbidden. If there was a breach in the fence of his orchard [or the wall of his courtyard that is between him and his friend - (Mordechai, 1st Chapter of Moed Katan & Hagaaos Maimoni Chapter 8], build an act of an amateur that is place rocks on top of each other or plaster mud or fence (the breach) with reeds, papyrus, and like those. Similarly, if making a railing for a roof, build in an act of an amateur; however, if building a wall for his courtyard that is near the public thoroughfare that fell, build as normal, and if it is leaning to fall, demolish because of danger and build normally. Rema: Even if it is only leaning to the courtyard or alley, it is allowed to demolish because of danger and return and rebuild. Similar with other matters that there is a concern of danger, build and demolish as usual (Bais Yosef in the name of Reb Yerucham BN'Y)
ב מֻתָּר לִטֹּל גַּבְשׁוּשִׁית שֶׁבַּבַּיִת.
2 It is permitted to take from a pile (of dirt or stone) in one's house (on Chol HaMoed).
ג סְדָקִים שֶׁבַּגַּג, מֻתָּר לְסָתְמָן בַּיָּד וּבָרֶגֶל, אֲבָל לֹא בִּכְלֵי אֻמָּנוּת.
3 Holes in the roof are permitted to close with one's hand or feet, but not with a professional implement.
ד צִיר הַדֶּלֶת, וְהַמַּפְתֵּחַ, וְהַמַּנְעוּל (גְּמָרָא), וְהַצִּנּוֹר, וְהַקּוֹרָה, בֵּין שֶׁהֵם שֶׁל עֵץ בֵּין שֶׁהֵם שֶׁל בַּרְזֶל שֶׁנִּשְׁבְּרוּ אֲפִלּוּ מֵעֶרֶב יוֹם טוֹב, יָכוֹל לְתַקְּנָם בְּלֹא שִׁנּוּי מִפְּנֵי שֶׁזֶּה הֶפְסֵד גָּדוֹל הוּא, שֶׁאִם יַנִּיחַ הַפֶּתַח פָּתוּחַ וּדְלָתוֹת שְׁבוּרוֹת נִמְצָא מְאַבֵּד כָּל מַה שֶּׁבַּבַּיִת וְלָכֵן מֻתָּר, וּבִלְבַד שֶׁלֹּא יְכַוֵּן מְלַאכְתּוֹ בַּמּוֹעֵד (רַבֵּנוּ יְרוּחָם).
4 Door hinges, the key [and the lock - Gemara], the door socket, and the board, whether they are wood or iron, that breaks even on the eve of Yom Tov, one is able to fix without change because that it is a great loss that if he leaves his entry open and door broken, he will find lost all that is in the house. Rema: Therefore it is allowed, except that he should not intend to work on the Festival (Rabbi Yerucham).
ה מֻתָּר לִבְנוֹת, מַעֲשֵׂה הֶדְיוֹט, אֵבוּס שֶׁתֹּאכַל בּוֹ הַבְּהֵמָה.
5 It is permitted to build (with an) amateur act a stall that his animals eat in it.
ו מֻתָּר לִבְנוֹת, מַעֲשֵׂה הֶדְיוֹט, אִצְטַבָּא לִישֵׁב אוֹ לִישַׁן עָלֶיהָ.
6 It is permitted to build (with an) amateur act a bench to sit or sleep upon.
ז תַּנּוּר וְכִירַיִם שֶׁאֶפְשָׁר שֶׁיָּבְשׁוּ וְיֹאפֶה בָּהֶם בַּמּוֹעֵד, עוֹשִׂין; וְאִם לָאו, אֵין עוֹשִׂין אוֹתָם וְהוּא הַדִּין עֲשִׂיַּת קְדֵרוֹת וְאִלְפָּסִין שָׁרֵי בִּכְהַאי גַּוְנָא (נ"י ספ"ק דמ"ק וְהַמַּגִּיד פ"ח); וּבֵין כָּךְ וּבֵין כָּךְ בּוֹנִים עַל חֶרֶס שֶׁל תַּנּוּר וְעַל הַכִּירָה הַטְּפֵלָה שֶׁלָּהֶם.
7 An oven or stove that is possible that one can dry and bake in them on the Festival, one can make. If not, do not make them. [Similarly, making pots and pans is allowed in this manner - Nimukei Yosef - end of the 1st chapter of Moed Katan and the Maggid Mishnah Chapter 8).] Either way (if able to be dried or not) we build on earthenware of oven (i.e. the finishing) and on the stove the plaster of them.
ח נוֹקְרִים אֶת הָרֵחַיִם, וּפוֹתְחִים לָהֶם עַיִן פֵּרוּשׁ נֶקֶב שֶׁעוֹשִׂים בְּאֶמְצַע הָרֵחַיִם, וּמַעֲמִידִים אוֹתָם; וּבוֹנִים אַמַּת הַמַּיִם שֶׁל רֵחַיִם, וְקוֹצְצִים צִפֹּרְנֵי הַחֲמוֹר שֶׁל רֵחַיִם. הַגָּה: וּמֻתָּר לְחַדֵּד סַכִּין בַּמּוֹעֵד; וְסַכִּין שֶׁנִּשְׁבַּר בַּמּוֹעֵד מֻתָּר לַעֲשׂוֹת אַחֶרֶת (הַמַּגִּיד פ"ח).
8 We pierce millstones and open their holes [explanation: the hole we make in the middle of the millstone] and stand them and build the water canal of the millstone and cut the nails of the donkey of the millstone. Rema: it is allowed to sharpen a knife on the festival and a knife that breaks on the Festival, it is permitted to make another (Maggid Chapter 1.)