fix(browser): drop redundant setuid sandbox flag

Co-authored-by: Sebastian Krueger <150018+sebykrueger@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-04-25 10:04:29 +01:00
parent 41ed7fa535
commit 2483d1dc12
5 changed files with 4 additions and 4 deletions

View File

@@ -210,7 +210,7 @@ describe("chrome.ts internal", () => {
userDataDir: "/tmp/foo",
});
expect(args).toContain("--no-sandbox");
expect(args).toContain("--disable-setuid-sandbox");
expect(args).not.toContain("--disable-setuid-sandbox");
});
it("adds --disable-dev-shm-usage on linux", () => {

View File

@@ -245,7 +245,6 @@ export function buildOpenClawChromeLaunchArgs(params: {
}
if (resolved.noSandbox) {
args.push("--no-sandbox");
args.push("--disable-setuid-sandbox");
}
if (process.platform === "linux") {
args.push("--disable-dev-shm-usage");