{"version":"2.1.228","anchor":"write-tool-now-refuses-files-covered-by-a-read-deny-rule","canonical_anchor":"write-tool-now-refuses-files-covered-by-a-read-deny-rule","heading":"Write tool now refuses files covered by a Read deny rule","tier":"notice","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228\/e\/write-tool-now-refuses-files-covered-by-a-read-deny-rule","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.228","markdown":"### Write tool now refuses files covered by a Read deny rule\n\nFiles covered by a Read deny rule can no longer be written, not just edited.\n\n**What**\n\nA `Read` deny rule in your permission settings now blocks writes as well as edits. Attempting to write such a file fails with \"File is covered by a Read deny rule in your permission settings and cannot be written.\" No flag involved; this applies to everyone on this build.\n\n**Details**\n\n- The check runs twice: in the Write tool's permission pre-check, which returns `errorCode: 13`, and again at write time, which throws a file-state error\n- Both paths use the same new message\n- Previously only the Edit path checked deny rules, with a message ending \"...cannot be edited.\"\n\n**Evidence**\n\n`File is covered by a Read deny rule in your permission settings and cannot be written.`\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 2\/5"}