Skip to content

A Delete launch under a sticky runs folder empties a run it cannot remove #778

Backlog

Description

@harenome

Priority

P3

Components

  • Runs

Evidence

  • Runs folder 01777, owned by root; run folder owned by root, writable by the user.
  • Delete removes every file, then the kernel refuses the final rmdir (EPERM).
  • Left: an empty folder, not restored, not deletable, name taken.
  • Rootless container, uid 1000, main 99d84a4 and the A Delete launch that fails part way removes run.json first and leaves a folder that blocks its name #767 branch:
    delete: stays ['r1'] ['r1 stays in /runs/r1: Operation not permitted']
    left: []
    restored: []
    again: ValueError r1 is not a run Nullius made
    
  • A mode-bit refusal would break root and same-owner deletes.

Expected

Delete refuses before removing anything when the run folder itself cannot go.

Acceptance

  • A refused sticky removal keeps the run whole (test)

Dependencies and related

#770, #767

Activity

  1. added
    bug
    P3
    on Dec 3, 2026
  2. added theissue type on Dec 3, 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

    P3bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions