fix permessi

This commit is contained in:
2025-01-24 21:35:14 +01:00
parent 54d8ac66cc
commit 1b6ac1711c
3 changed files with 15 additions and 6 deletions

View File

@@ -120,4 +120,10 @@ _EOF
./make_stats.sh
# Da i permessi alla cartella (decommentare se hostato)
#chmod +x $PWD_SC ; chmod -R 744 $PWD_SC/*.html; chmod -R 744 $PWD_SC/*.json; chown root:root ./*.sh; chmod 740 ./*.sh
#chown -R root:root $PWD_SC; echo "cartella di root"
#chmod +x $PWD_SC ; echo "permetto di leggere dentro a $PWD_SC"
#chmod 740 $PWD_SC/*; echo "reset permessi per tutti i file"
#chown -R www-data:www-data $PWD_SC/*.html; chmod -R 744 $PWD_SC/*.html; echo "do i permessi agli html"
#chown -R www-data:www-data $PWD_SC/*.json; chmod -R 744 $PWD_SC/*.json; echo "do i permessi ai json"
#chown -R www-data:www-data $PWD_SC/*.xml; chmod -R 744 $PWD_SC/*.xml; echo "do i permessi agli xml"
#chown root:root ./*.sh; chmod 740 ./*.sh; echo "do i permesi agli sh"