Skip to content

Normalize packaged native authority permissions for source-built Linux/macOS desktop apps #2202

Closed

Description

@integry

Target desktop epic #1970 /1950-epic-cross-platform-dsk only, never main. Concrete local source-build acceptance defect, separate from active #2196 record-count correction. On root b5836ed Linux make:deb output, resources/app.asar.unpacked/.vite/native/prebuilds/linux-x64/directory-operations.node was mode0775. SHA256 matches pinned7199378f1c7b443a05c596eae7c66f9a77cc01b4a493c07748df0df1083950f6. smoke-packaged-connect fails package-validation because assertPackageAuthority rejects mode&0022. Restricting only the generated addon to0755 lets the same probe launch, proving the distinct preflight cause; the later129-record overflow is owned by #2196. Existing installed local candidate and DEB were not rewritten, so do not assume user installation is fixed. Ensure native authority assets in packaged Linux/macOS outputs and maker payloads have safe deterministic permissions even under umask0002 or group-writable source checkout, preserving executability where required and all integrity checks. Add focused regression for group-writable inputs/build umask and verify Linux package output. Do not weaken validators or change unrelated file permissions, Windows behavior, or notification/tray code. Small scoped PR with Closes this issue; leave open for Ultrafix/root validation.

Activity

  1. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Please implement the bounded native-artifact permission correction described above against the desktop epic. AI and base labels are already present. Leave linked PR open for Ultrafix/root validation; do not overlap the active #2196 diagnostic-count fix.

  2. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Please start implementation for this issue now. Root checked the current task list and issue thread: no task/PR acknowledgement is present for #2202, while #2203 and #2204 have active task IDs. AI/base labels remain in place. Keep scope to native artifact permissions, base 1950-epic-cross-platform-dsk, and link the resulting PR with Closes #2202.

  3. propr-dev commented on Sep 7, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-5.6-sol
    • Branch: 2202/gpt-5.6-sol-normalize-packaged-native-20260907-2147-j24
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2202-20260907-2147-gpt-5.6-sol-j24

    🔍 Track Task Execution

  4. added a commit that references this issue on Sep 7, 2026
  5. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Implemented by #2209, merged into desktop epic #1970 atb7604da4d2aabe69171faf12c9e0cda38b924e8f, not main. Ultrafix9/10, root focused tests and real DEB under umask0002 verified0755 with unchanged addon digest; full CI/Validate Changes/all four Linux/macOS package and Connect checks pass. Final combined app rebuild/runtime acceptance remains #1962.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions