{"version":"2.1.282","anchor":"lock-file-creation-now-creates-its-parent-directory-first","canonical_anchor":"lock-file-creation-now-creates-its-parent-directory-first","heading":"Lock files are created even when their folder does not exist yet","tier":"notice","area":"Settings","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282\/e\/lock-file-creation-now-creates-its-parent-directory-first","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282","markdown":"### Lock files are created even when their folder does not exist yet\n\nClaude Code now creates the folder for a lock file before creating the lock file itself\n\n**Unclear.** It is not clear which feature this lock file belongs to.\n\n**What**\n\nA lock file is a small marker file Claude Code writes so that two processes do not change the same thing at once. Before creating a `.lock` file, Claude Code now creates the folder it goes in if that folder is missing. Previously it tried to write the file straight away.\n\n**Why**\n\nA missing folder could make the lock fail without any visible sign. Creating the folder first stops that from happening.\n\n- Area: Settings\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5"}