mirror of
https://github.com/daijro/camoufox.git
synced 2026-11-19 00:07:28 +00:00
* fetch-ubo: stage the addon readable by every user addons/UBO was a tempfile.mkdtemp renamed into place, so it kept mode 0700 and the release zip carried it that way. Unzipped by root and run by another user (a Docker image's app user, a shared install), the launcher could not read the manifest, passed no addon, and the browser ran without uBO. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * package: refuse a zip other users can't read unzip restores each entry's stored mode. Besides addons/UBO, the beta.41 zip carried 64 Windows fonts in fonts/W as 0600 (their mode in the font bundle), so a non-owner install also lacked Book Antiqua, Bookman Old Style, Century, Dubai, Franklin Gothic and others: a Windows identity reported fonts it could not render. Packaging now opens up the staged tree (group and others get read, plus search on dirs and on owner-executable files) and fails when the finished zip still has an entry other users can't read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Jake Writer <jake_writer@jobharvest.com>