diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-02 11:47:51 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-02 11:47:51 +0200 |
| commit | bee5901f7a04d17c40e2c8d077437f10e59c8d81 (patch) | |
| tree | 1b62efed4792787d831c5b524cd3daa62df924ac /packaging/systemd/meshbay-node-user.service | |
| parent | 19a7201d1d911c9f25bc112a3e0d2218eb6c14a2 (diff) | |
| download | meshbay-bee5901f7a04d17c40e2c8d077437f10e59c8d81.tar.gz | |
build(client): say when a build has reset the local chrome-sandbox
`build-client.sh` runs `npm ci`, which deletes node_modules wholesale, then
re-extracts Electron's dist. A chrome-sandbox that had been made root-owned
4755 for local development comes back 755 and owned by whoever ran the build.
Running the app straight from node_modules then aborts outright:
FATAL: The SUID sandbox helper binary was found, but is not configured
correctly. Rather than run without sandboxing I'm aborting now.
Chromium refusing to start beats it quietly dropping the sandbox, and that
refusal is baffling if the crash is not connected to a package build run
minutes earlier — the two look unrelated, and the file's own mtime is 1980
either way, so nothing on it points at what happened.
The build now says so, with the command to put it back. Said and not done: a
build script has no business setting a setuid bit behind someone's back, and
this one uses no sudo. The packaged app was never affected —
packaging/deb/meshbay-client/DEBIAN/postinst does the chown+chmod at install
time, which is where it belongs.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014UtzVrzM7e2tG9fSpkR9ML
Diffstat (limited to 'packaging/systemd/meshbay-node-user.service')
0 files changed, 0 insertions, 0 deletions