diff --git a/README.md b/README.md index 6346ef1..9c5b3cb 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,6 @@ o mettilo in cron
0 0 * * * /path/to/update_link.sh
per generare la pagina index.html contente il link giusto
- + +dai i permessi alla cartella contenente lo script
+sudo chown -R www-data:www-data /path/to/streamingcommunity_directory ; sudo chmod -R 755 /path/to/streamingcommunity_directory
\ No newline at end of file diff --git a/update_link.sh b/update_link.sh index 7c1e677..8f416c3 100755 --- a/update_link.sh +++ b/update_link.sh @@ -92,4 +92,5 @@ cat <<- _EOF > /var/www/html/scommunity/index.html _EOF -sudo chown -R www-data:www-data /var/www/html/scommunity ; sudo chmod -R 755 /var/www/html/scommunity \ No newline at end of file +#setta e decommenta per dare i permessi in automatico +#sudo chown -R www-data:www-data /path/to/streamingcommunity_directory ; sudo chmod -R 755 /path/to/streamingcommunity_directory \ No newline at end of file