update permessi

This commit is contained in:
2025-01-25 19:55:40 +01:00
parent effc329790
commit 6501ac2e4f
4 changed files with 19 additions and 13 deletions

View File

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

View File

@@ -118,9 +118,9 @@ cat <<- _EOF > $PWD_SC/index.html
_EOF _EOF
# Da i permessi alla cartella (decommentare se hostato) # Da i permessi alla cartella (decommentare se hostato)
#chown -R root:root $PWD_SC; echo "cartella di root" #chown -R root:root $PWD_SC; echo "la cartella $PWD_SC è di root"
#chmod +x $PWD_SC ; echo "permetto di leggere dentro a $PWD_SC" #chmod +x $PWD_SC ; echo "permetto di leggere dentro a $PWD_SC"
#chmod 740 $PWD_SC/*; echo "reset permessi per tutti i file" #chmod 740 $PWD_SC/*; echo "reset permessi per tutti i file dentro a $PWD_SC"
#chown -R www-data:www-data $PWD_SC/*.xml; chmod -R 744 $PWD_SC/*.xml; echo "do i permessi agli xml" #chown -R www-data:www-data $PWD_SC/*.html; chmod -R 744 $PWD_SC/*.html; echo "do i permessi agli html dentro a $PWD_SC"
#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/*.xml; chmod -R 744 $PWD_SC/*.xml; echo "do i permessi agli xml dentro a $PWD_SC"
#chown root:root ./*.sh; chmod 740 ./*.sh; echo "do i permesi agli sh" #chown root:root ./*.sh; chmod 740 ./*.sh; echo "do i permesi agli sh dentro $PWD_SC"

View File

@@ -32,4 +32,10 @@ cat <<- _EOF > $PWD_SC/rss.xml
_EOF _EOF
# Da i permessi alla cartella (decommentare se hostato) # Da i permessi alla cartella (decommentare se hostato)
#sudo chown -R www-data:www-data $PWD_SC ; sudo chmod -R 755 $PWD_SC #chown -R root:root $PWD_SC; echo "la cartella $PWD_SC è 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 dentro a $PWD_SC"
#chown -R www-data:www-data $PWD_SC/*.html; chmod -R 744 $PWD_SC/*.html; echo "do i permessi agli html dentro a $PWD_SC"
#chown -R www-data:www-data $PWD_SC/*.json; chmod -R 744 $PWD_SC/*.json; echo "do i permessi ai json dentro a $PWD_SC"
#chown -R www-data:www-data $PWD_SC/*.xml; chmod -R 744 $PWD_SC/*.xml; echo "do i permessi agli xml dentro a $PWD_SC"
#chown root:root ./*.sh; chmod 740 ./*.sh; echo "do i permesi agli sh dentro $PWD_SC"