Lines Matching refs:settings_temp_path
82 char *settings_temp_path;
104 if (i->settings_temp_path) {
105 (void) unlink(i->settings_temp_path);
106 free(i->settings_temp_path);
453 assert(i->settings_temp_path);
456 r = import_make_read_only(i->settings_temp_path);
460 r = rename_noreplace(AT_FDCWD, i->settings_temp_path, AT_FDCWD, i->settings_path);
466 i->settings_temp_path = mfree(i->settings_temp_path);
528 assert(!i->settings_temp_path);
534 r = tempfn_random(i->settings_path, NULL, &i->settings_temp_path);
538 mkdir_parents_label(i->settings_temp_path, 0700);
540 j->disk_fd = open(i->settings_temp_path, O_RDWR|O_CREAT|O_EXCL|O_NOCTTY|O_CLOEXEC, 0664);
542 return log_error_errno(errno, "Failed to create %s: %m", i->settings_temp_path);