The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(deb): ensure control directory permissions in package build
Steven Enamakel38b1ef4a17fa
diff --git a/packages/deb/build.sh b/packages/deb/build.shindex 981302355b..22f710fceb 100755--- a/packages/deb/build.sh+++ b/packages/deb/build.sh@@ -18,6 +18,9 @@ PKG_DIR="$WORK_DIR/$PKG_NAME"mkdir -p "$PKG_DIR/usr/bin"mkdir -p "$PKG_DIR/DEBIAN"+# The Debian format requires its control directory to be at least 0755. Keep+# package metadata readable even when the caller builds under a private umask.+chmod 755 "$PKG_DIR" "$PKG_DIR/usr" "$PKG_DIR/usr/bin" "$PKG_DIR/DEBIAN"install -m 755 "$CORE_BINARY" "$PKG_DIR/usr/bin/openhuman"install -m 755 "$TUI_BINARY" "$PKG_DIR/usr/bin/openhuman-tui"diff --git a/scripts/__tests__/cli-package-contents.test.mjs b/scripts/__tests__/cli-package-contents.test.mjsindex 5e6655891d..cda939c8e6 100644--- a/scripts/__tests__/cli-package-contents.test.mjs+++ b/scripts/__tests__/cli-package-contents.test.mjs@@ -163,7 +163,16 @@ mkdir -p "$output"execFileSync("bash",- [path.join(repoRoot, "packages/deb/build.sh"), core, tui, "0.0.0", "amd64"],+ [+ "-c",+ 'umask 077; exec "$@"',+ "bash",+ path.join(repoRoot, "packages/deb/build.sh"),+ core,+ tui,+ "0.0.0",+ "amd64",+ ],{ cwd: work },);const contents = execFileSync(