Preview refuses any Chrome binary sitting somewhere the session could have written to.
What's wrong with this entry?
Before rendering, preview resolves the Chrome executable, follows links, and denies with preview_browser_in_workspace if it sits under a working directory, a temp directory or a sandbox write root, or is hard-linked and writable. Sessions in bypassPermissions mode skip that check.
- Also denied: network-share paths, hard-linked source files, and files whose symlink target the Read rules would only permit after asking.
- Otherwise preview asks once, with a prompt stating the render is local and nothing is uploaded.
- If no Chrome is found, the error points at
BUN_CHROME_PATH.
Chrome not found: install Chrome or Chromium, or point BUN_CHROME_PATH at one.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.223
Permission circuit breakers now have a capability table
Both mention bypass
-
v2.1.227
Auto-mode guidance reminders now also appear in bypassPermissions
Both mention bypass
-
v2.1.234
Bypass permissions mode is now disabled only by settings
Both mention bypass