Changed chmod rule

pull/33/head
Ivan Dmitrievich Yartsev 12 months ago
parent 1d469148fb
commit e094bbc182

@ -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;

Loading…
Cancel
Save