fix permission and json
This commit is contained in:
@@ -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
2
make_index_without_stats.sh
Normal file → Executable 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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user