{"version":"2.1.337","anchor":"settings-writes-can-be-pinned-against-symlink-swaps","canonical_anchor":"settings-writes-can-be-pinned-against-symlink-swaps","heading":"Removing entries from settings.local.json now checks where the file really points","tier":"notice","area":"Settings","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/settings-writes-can-be-pinned-against-symlink-swaps","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Removing entries from settings.local.json now checks where the file really points\n\nWhen Claude Code removes an entry from settings.local.json, it now checks where the file leads first and refuses to write if it was not checked\n\n**What**\n\n`settings.local.json` is the settings file Claude Code keeps for your own machine in a project. When Claude Code removes an entry from it through its older removal route, it now first confirms where the file really leads. A file can be a symlink, which is a shortcut pointing to another file somewhere else. Claude Code fixes on that confirmed location and writes there.\n\nIf the location was not checked, Claude Code refuses to write and shows a message that starts with \"Refusing to write\", followed by the file name and \"where it leads was not checked\". Before, the file was read and written without this check.\n\n**Why**\n\nThis makes settings writes safer. If something swaps the file for a shortcut to another file partway through, Claude Code will not write into that other file.\n\n- Area: Settings\n- Names: `settings.local.json`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}