{"version":"2.1.319","anchor":"local-filesystem-writes-from-the-scripting-api-now-use-restr","canonical_anchor":"local-filesystem-writes-from-the-scripting-api-now-use-restr","heading":"Files written through the scripting API are private to your user account","tier":"notice","area":"Scripting API","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319\/e\/local-filesystem-writes-from-the-scripting-api-now-use-restr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319","markdown":"### Files written through the scripting API are private to your user account\n\nFiles and folders created by `$.fs.write` are no longer readable by other users on the same machine\n\n**What**\n\nWhen the scripting API writes a file with `$.fs.write`, Claude Code now sets file permissions (the rules that control who on a computer may open a file) that keep the result private:\n\n- Folders it creates are open only to your user account (mode 0o700).\n\n- Files it writes can be read and changed only by your user account (mode 0o600).\n\nBefore, folders were created with no explicit mode and files had no file mode set.\n\n**Why**\n\nThis is a small security tightening. Other user accounts on a shared machine can no longer read what the scripting API writes.\n\n- Area: Scripting API\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}