Skip to content

Fix desktop NetworkManager profile permissions - #89

Merged
Augani merged 1 commit into
mainfrom
codex/fix-desktop-network-profile-mode
Aug 29, 2026
Merged

Fix desktop NetworkManager profile permissions#89
Augani merged 1 commit into
mainfrom
codex/fix-desktop-network-profile-mode

Conversation

@Augani

@Augani Augani commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Root cause

The exact Debian desktop image was assembled successfully, then the image verifier rejected /etc/NetworkManager/system-connections/dory-wired.nmconnection because it was mode 0644. Git cannot encode owner-only 0600 for a normal tracked file, and the builder copied the overlay without re-establishing NetworkManager's private system-profile boundary.

Fix

  • set the system connection profile to 0600 immediately after copying the rootfs overlay and before filesystem creation
  • add a release-candidate regression contract that proves the permission step exists in the correct ordering

Verification

  • desktop builder shell syntax passes
  • release-candidate contract suite passes (4 tests)
  • git diff --check passes
  • the previous candidate advanced through the repaired AArch64 ELF verifier, built the Debian filesystem, and failed specifically at this mode assertion

@Augani
Augani merged commit 43e25ca into main Aug 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant