diff --git a/scripts/install b/scripts/install index 0c72c25..39ac2eb 100755 --- a/scripts/install +++ b/scripts/install @@ -101,6 +101,7 @@ sudo chown root /etc/cron.d/freshrss # Set permissions to freshrss directory sudo chown -R www-data: $final_path/data/ +sudo chown -R www-data: $final_path/extensions/ #skip api directory sudo yunohost app setting freshrss skipped_uris -v /api/greader.php diff --git a/scripts/upgrade b/scripts/upgrade index e45dbff..7837096 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -10,6 +10,7 @@ sudo cp update-ynh.php $final_path/ #execute update sudo php $final_path/update-ynh.php -sudo cp ../conf/dist_user.conf $final_path/data +sudo cp ../conf/dist_user.conf $final_path/data/ # Set permissions to freshrss directory -sudo chown -R www-data: $final_path/data +sudo chown -R www-data: $final_path/data/ +sudo chown -R www-data: $final_path/extensions/ \ No newline at end of file