Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

docs: changelog entry for the macOS chmod fix (#694)

Sameh Khamisf631d5428baf
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dceec6a9c..419c03e45 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+- Saving a key from Provider Settings works again on Macs where Nix or
+ Homebrew coreutils sit ahead of `/bin` on `PATH`. The credential hardener
+ now spawns Apple's `/bin/chmod -N` by absolute path; GNU `chmod` has no `-N`,
+ so the ACL strip failed closed and every save was refused (Arthur Bogaart, #694).
+
- Render on iPad and iPhone instead of stopping with "An error occurred while
rendering." Cesium's per-vertex model atmosphere binds shader `out`
parameters directly to varyings, which Apple's Metal/ANGLE backend cannot
diff --git a/server/standalone/key-setup-hardening.mjs b/server/standalone/key-setup-hardening.mjs
index e2d11182c..78440948c 100644
--- a/server/standalone/key-setup-hardening.mjs
+++ b/server/standalone/key-setup-hardening.mjs
@@ -125,7 +125,7 @@ export function hardenCredentialFile(
if (platform === 'darwin') {
// `-N` (strip the ACL) is Apple-only. Spawn /bin/chmod by absolute
// path, never by name: a Nix/Homebrew coreutils profile puts GNU chmod
- // first on PATH, and GNU chmod rejects `-N` — which read as a
+ // first on PATH, and GNU chmod rejects `-N` — which was treated as a
// hardening failure and refused every save on such machines.
const aclRemoval = spawn('/bin/chmod', ['-N', filepath], {
stdio: 'ignore',