Merge pull request 'Test fix for config file rules' (#35) from YanTheKaller/libublsettings-gtk3:master into master

Reviewed-on: #35
master v1.33
Dmitry Razumov 8 months ago
commit 35be755020

@ -83,6 +83,11 @@
}
g_key_file_save_to_file(__yon_window_config_file,__yon_window_config_path,NULL);
{
struct passwd *user = getpwnam(yon_ubl_root_user_get());
int chown_success = chown(__yon_window_config_path,user->pw_uid,user->pw_gid);
int chmod_success = chmod(__yon_window_config_path,0755);
}
} else {
// g_warning("config file were not loaded properly");
}

Loading…
Cancel
Save