kopia lustrzana https://github.com/magicbug/Cloudlog
attempt to add the permissions stuff to the script.sh before adding it to github actions
rodzic
e0af386cc5
commit
ede0b201a5
19
script.sh
19
script.sh
|
@ -79,5 +79,24 @@ rm -rf /install
|
|||
|
||||
echo "Replacement complete."
|
||||
|
||||
# Set Permissions
|
||||
chown -R root:www-data /var/www/html/application/config/
|
||||
chown -R root:www-data /var/www/html/application/logs/
|
||||
chown -R root:www-data /var/www/html/assets/qslcard/
|
||||
chown -R root:www-data /var/www/html/backup/
|
||||
chown -R root:www-data /var/www/html/updates/
|
||||
chown -R root:www-data /var/www/html/uploads/
|
||||
chown -R root:www-data /var/www/html/images/eqsl_card_images/
|
||||
chown -R root:www-data /var/www/html/assets/json
|
||||
|
||||
chmod -R g+rw /var/www/html/application/config/
|
||||
chmod -R g+rw /var/www/html/application/logs/
|
||||
chmod -R g+rw /var/www/html/assets/qslcard/
|
||||
chmod -R g+rw /var/www/html/backup/
|
||||
chmod -R g+rw /var/www/html/updates/
|
||||
chmod -R g+rw /var/www/html/uploads/
|
||||
chmod -R g+rw /var/www/html/images/eqsl_card_images/
|
||||
chmod -R g+rw /var/www/html/assets/json
|
||||
|
||||
# Start Apache in the foreground
|
||||
exec apache2-foreground
|
Ładowanie…
Reference in New Issue