{"version":"2.1.336","anchor":"find-command-path-extraction-for-permissions","canonical_anchor":"find-command-path-extraction-for-permissions","heading":"Permission checks for find now look at paths given in its options","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/find-command-path-extraction-for-permissions","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Permission checks for `find` now look at paths given in its options\n\nWhen checking a `find` command, Claude Code can now also collect paths from options such as `-fprintf` and `-exec`\n\n**Unclear.** It is not clear which check decides whether these extra paths are collected, so readers cannot tell whether this applies to them.\n\n**What**\n\n`find` is a command that searches for files. Before Claude runs it, Claude Code works out which paths the command touches so it can check permissions. Before, it collected only the folders named directly, or the current folder.\n\nIt can now also collect paths that appear inside `find` options, such as `-f`, `-fprintf` and `-exec`, and add them to the check. This only happens when a particular check is on.\n\n**Why**\n\nPaths hidden inside `find` options can now be checked for permission too, not just the folders named directly.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}