fix permission and json

This commit is contained in:
2025-01-24 21:14:42 +01:00
parent 9d6f07f278
commit 54d8ac66cc
3 changed files with 4 additions and 2 deletions

View File

@@ -120,4 +120,4 @@ _EOF
./make_stats.sh
# Da i permessi alla cartella (decommentare se hostato)
#sudo chown -R www-data:www-data $PWD_SC ; sudo chmod -R 755 $PWD_SC
#chmod +x $PWD_SC ; chmod -R 744 $PWD_SC/*.html; chmod -R 744 $PWD_SC/*.json; chown root:root ./*.sh; chmod 740 ./*.sh

2
make_index_without_stats.sh Normal file → Executable file
View File

@@ -118,4 +118,4 @@ cat <<- _EOF > $PWD_SC/index.html
_EOF
# Da i permessi alla cartella (decommentare se hostato)
#sudo chown -R www-data:www-data $PWD_SC ; sudo chmod -R 755 $PWD_SC
#chmod +x $PWD_SC ; chmod -R 744 $PWD_SC/*.html; chmod -R 744 $PWD_SC/*.json; chown root:root ./*.sh; chmod 740 ./*.sh

View File

@@ -26,3 +26,5 @@ sed -i 's/\.php/[.]php/g' userViewer.json
sed -i 's/\.py/[.]py/g' userVieweOperation.json
sed -i 's/\.py/[.]py/g' userViewer.json
sed -i 's/\[\.]json/.json/g' stats1.html
sed -i 's/\[\.]json/.json/g' stats2.html