Skip to content

Windows installer fails with CodexSandboxUsers ACL in %TEMP% #1529

Description

@RoccoZero

Version

codebase-memory-mcp 0.10.0

Platform

Windows (x64)

Install channel

GitHub release archive / install.sh / install.ps1

Binary variant

standard

What happened, and what did you expect?

The standard Windows installer fails during its activation transaction when the user's %TEMP% directory contains ACL entries for the local CodexSandboxUsers group created by the OpenAI Codex desktop sandbox.

Downloading, checksum verification, extraction, and candidate binary validation all succeed. Installation fails only during ACL validation with acl-grants-cross-account-mutation.

I expected the standard install.ps1 workflow to install successfully without requiring removal of CodexSandboxUsers, modification of the system %TEMP% ACL, a custom temporary directory, or manual binary installation.

Reproduction

  1. Install and run the OpenAI Codex desktop app on Windows. It creates the local CodexSandboxUsers group and adds ACL entries for this group to the user's %TEMP% directory.

  2. Open a normal Windows PowerShell session.

  3. Run the official installation commands:

Invoke-WebRequest -Uri https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.ps1 -OutFile install.ps1
Unblock-File .\install.ps1
.\install.ps1
  1. The archive is downloaded and verified successfully, but installation fails:
codebase-memory-mcp installer (Windows)
  arch:    amd64
  target:  C:\Users\<user>\AppData\Local\Programs\codebase-memory-mcp\codebase-memory-mcp.exe

Downloading codebase-memory-mcp-windows-amd64.zip...
Checksum verified.
Extracting...
Verified candidate: codebase-memory-mcp 0.10.0
codebase-memory-mcp install 0.10.0

error: failed to stage install candidate: activation transaction I/O failed:
acl-grants-cross-account-mutation to S-1-5-21-...-1004 (os 0)
at C:/Users/<user>/AppData/Local/Temp/cbm-install-<id>
error: installation failed (exit code 1)
  1. The rejected SID resolves to the local group:
<computer>\CodexSandboxUsers
  1. Using a private temporary directory without the CodexSandboxUsers ACL gets past the first error. However, when the target directory is owned by BUILTIN\Administrators, installation fails with:
error: failed to stage install candidate: activation transaction I/O failed:
owner-not-current-user (os 0)
at C:/Users/<user>/AppData/Local/Programs/codebase-memory-mcp

Expected: the official Windows installer should support common sandbox ACLs or create a private staging directory with suitable ownership and permissions.

Logs


Diagnostics trajectory (memory / performance / leak issues)


Project scale (if relevant)

No response

Confirmations

  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeditor/integrationEditor compatibility and CLI integrationparsing/qualityGraph extraction bugs, false positives, missing edgeswindowsWindows-specific issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions