From d5f519f3fdf4131ed7e95691160a604696f693f0 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 22 Oct 2024 18:05:44 +0600 Subject: [PATCH] Added chmod at removing config --- source/libublsettingsui-gtk3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libublsettingsui-gtk3.c b/source/libublsettingsui-gtk3.c index c19a9f5..5235c9d 100644 --- a/source/libublsettingsui-gtk3.c +++ b/source/libublsettingsui-gtk3.c @@ -673,7 +673,8 @@ int yon_ubl_setup_arguments(int argc, char *argv[],config_str *unfound_arguments if(optarg) template_config->load_socket_id=atoi(optarg); break; - case 'c': if (system(remove_config_dir_command)){}; + case 'c': chmod (yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",template_app_information.app_tech_name,"/",NULL),0777); + if (system(remove_config_dir_command)){}; break; case 'd': template_config->debug_mode=1; break; -- 2.35.1