8000 Resolve dangling links on both sides of the organization-config write guard · Issue #4057 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

Resolve dangling links on both sides of the organization-config write guard #4057

Backlog

Description

@evanspearman

Found in review of #4009 (comment), at crates/minimal/src/config.rs:300. Unresolved when this issue was filed.

Resolve dangling links on both sides of the organization-file check.
If the organization config links to a missing file and the user config links to the organization config, target_of follows the user path to the missing file. The organization side goes straight to resolved_for_write, which cannot canonicalize that dangling link and keeps its name. The comparison therefore allows the write. When the endpoint is writable, min secret set creates it, and those bytes become the organization configuration.
Use the same endpoint resolution for both paths, including missing endpoints. Keep the existing refusal when both paths resolve to the same existing file.


This is a residual of epic #1501 (BEP).

Activity

  1. added
    bug
    on Dec 4, 2026
  2. added
    priority:should-have
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:should-have

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0