diff --git a/scripts/upgrade b/scripts/upgrade index b4259b9..4cae072 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -117,6 +117,7 @@ yunohost service add $app --description="VS Code Server" --log="/var/log/$app/$a #================================================= # SET PERMISSION FOR THE USER #================================================= +ynh_permission_update --permission="main" --add="$admin" chown -R $admin:$admin "$data_dir"