From e094bbc1821512cc5d99ec3268d793736aa1e6fa Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 12 Nov 2024 12:13:22 +0600 Subject: [PATCH] Changed chmod rule --- source/libublsettingsui-gtk3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libublsettingsui-gtk3.c b/source/libublsettingsui-gtk3.c index 944df3a..5317992 100644 --- a/source/libublsettingsui-gtk3.c +++ b/source/libublsettingsui-gtk3.c @@ -678,7 +678,7 @@ int yon_ubl_setup_arguments(int argc, char *argv[],config_str *unfound_arguments case 'c': char *path = yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",template_app_information.app_tech_name,"/",NULL); struct passwd *user = getpwnam(yon_ubl_root_user_get()); chown(path,user->pw_uid,user->pw_gid); - chmod (path,0777); + chmod (path,0644); if (system(remove_config_dir_command)){}; break; case 'd': template_config->debug_mode=1;