mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
docs: changelog entry for the macOS chmod fix (#694)
Credit the fix in CHANGELOG and tidy the wording of its inline comment. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
fb8a93752f
commit
f631d5428b
2 files changed
+6
-1
No files matched your search
@@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# 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
|
- Render on iPad and iPhone instead of stopping with "An error occurred while
|
||||||
rendering." Cesium's per-vertex model atmosphere binds shader `out`
|
rendering." Cesium's per-vertex model atmosphere binds shader `out`
|
||||||
parameters directly to varyings, which Apple's Metal/ANGLE backend cannot
|
parameters directly to varyings, which Apple's Metal/ANGLE backend cannot
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ export function hardenCredentialFile(
|
|||||||
if (platform === 'darwin') {
|
if (platform === 'darwin') {
|
||||||
// `-N` (strip the ACL) is Apple-only. Spawn /bin/chmod by absolute
|
// `-N` (strip the ACL) is Apple-only. Spawn /bin/chmod by absolute
|
||||||
// path, never by name: a Nix/Homebrew coreutils profile puts GNU chmod
|
// 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.
|
// hardening failure and refused every save on such machines.
|
||||||
const aclRemoval = spawn('/bin/chmod', ['-N', filepath], {
|
const aclRemoval = spawn('/bin/chmod', ['-N', filepath], {
|
||||||
stdio: 'ignore',
|
stdio: 'ignore',
|
||||||
|
|||||||
Reference in new issue
Block a user