From 2645b05bd13149729e9b0dc80e01fa8942f64a26 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 14 Apr 2024 19:28:54 +0200 Subject: [PATCH] Revert "Protect more path on ynh secure remove" --- helpers/utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/utils b/helpers/utils index 5b286e355..98e610f21 100644 --- a/helpers/utils +++ b/helpers/utils @@ -843,7 +843,7 @@ ynh_get_debian_release() { _acceptable_path_to_delete() { local file=$1 - local forbidden_paths=$(ls -d / /* /{var,home,usr}/* /etc/{default,sudoers.d,yunohost,cron*} /etc/yunohost/{apps,domains,hooks.d} /opt/yunohost) + local forbidden_paths=$(ls -d / /* /{var,home,usr}/* /etc/{default,sudoers.d,yunohost,cron*}) # Legacy : A couple apps still have data in /home/$app ... if [[ -n "${app:-}" ]]