mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 19:42:54 +00:00
fix(launchd): set restrictive umask in gateway plist
This commit is contained in:
committed by
Peter Steinberger
parent
740bb77c8c
commit
c9558cdcd7
@@ -4,6 +4,7 @@ import fs from "node:fs/promises";
|
||||
// intentional gateway restarts. Keep it low so CLI restarts and forced
|
||||
// reinstalls do not stall for a full minute.
|
||||
export const LAUNCH_AGENT_THROTTLE_INTERVAL_SECONDS = 1;
|
||||
// launchd stores plist integer values in decimal; 0o077 renders as 63 (owner-only files).
|
||||
export const LAUNCH_AGENT_UMASK_DECIMAL = 0o077;
|
||||
|
||||
const plistEscape = (value: string): string =>
|
||||
|
||||
Reference in New Issue
Block a user