From: Sergey Matveev Date: Tue, 31 May 2022 13:30:01 +0000 (+0300) Subject: Корректные права на файлы сгенерированного сайта X-Git-Url: http://www.git.cypherpunks.ru/?p=cypherpunks-www.git;a=commitdiff_plain;h=33b1d5466480f6f9e996dd0d0bea8967adf6018b Корректные права на файлы сгенерированного сайта --- diff --git a/all.do b/all.do index 1fde72a..e7c0b3b 100644 --- a/all.do +++ b/all.do @@ -1,4 +1,5 @@ -rm -rf cypherpunks.html +html=cypherpunks.html +rm -rf $html ${MAKEINFO:-makeinfo} --html \ --css-include style.css \ --set-customization-variable SECTION_NAME_IN_TITLE=1 \ @@ -9,4 +10,6 @@ ${MAKEINFO:-makeinfo} --html \ --set-customization-variable DATE_IN_HEADER=1 \ --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \ --set-customization-variable OPEN_QUOTE_SYMBOL=\" \ - -o cypherpunks.html index.texi + -o $html index.texi +find $html -type d -exec chmod 755 {} + +find $html -type f -exec chmod 644 {} +