{
  "schema_version": 1,
  "license": "CC0-1.0",
  "generated_date": "2026-11-05",
  "study": "permission-lifetime",
  "scope": "Local ext4 and tmpfs, one Linux host, same owner, nonroot, no effective capabilities",
  "claims": [
    {
      "id": "retained-access",
      "type": "native-observation",
      "claim": "At mode 0000, fresh opens failed with EACCES while retained O_RDWR descriptions still read or wrote.",
      "cases": [
        "retained-read",
        "retained-write",
        "dup-after-narrow"
      ],
      "sources": [
        "open",
        "dup",
        "kernel-rw"
      ]
    },
    {
      "id": "mapping-lifetime",
      "type": "native-observation",
      "claim": "Shared writable mapping stores succeeded after the input descriptor closed, including a mapping created through retained O_RDWR access after chmod 000.",
      "cases": [
        "mapping-before-narrow",
        "mapping-after-narrow"
      ],
      "sources": [
        "mmap",
        "kernel-mmap",
        "kernel-mmap-security"
      ]
    },
    {
      "id": "dup-not-reopen",
      "type": "native-observation",
      "claim": "Procfs reopen failed after narrowing but an O_RDWR procfs reopen succeeded after widening; dup preserved the old description's access restrictions.",
      "cases": [
        "proc-reopen-narrow",
        "readonly-after-widen",
        "proc-reopen-widen"
      ],
      "sources": [
        "proc",
        "dup",
        "flags"
      ]
    },
    {
      "id": "creation-mode",
      "type": "native-observation",
      "claim": "O_CREAT|O_RDWR with mode 0000 returned a usable writable descriptor, while subsequent opens failed.",
      "cases": [
        "create-mode-zero"
      ],
      "sources": [
        "open"
      ]
    },
    {
      "id": "not-once-only",
      "type": "source-backed-interpretation",
      "claim": "The observed local mode-bit behavior does not mean that all security checks happen only at open; Linux v6.8 I/O and mapping paths retain security hooks.",
      "cases": [],
      "sources": [
        "kernel-rw",
        "kernel-mmap-security",
        "chmod"
      ]
    },
    {
      "id": "backup-acceptance",
      "type": "engineering-inference",
      "claim": "Fresh-open denial or restrictive metadata alone is not proof that a local staging file is no longer modifiable by previously admitted writers.",
      "cases": [
        "retained-write",
        "dup-after-narrow",
        "mapping-before-narrow",
        "mapping-after-narrow"
      ],
      "sources": [
        "open",
        "dup",
        "mmap"
      ],
      "not_established": [
        "universal revocation procedure",
        "named-user ACL decision",
        "NFS outcome",
        "crash durability",
        "incident frequency"
      ]
    }
  ],
  "evidence": [
    "observations-final.json",
    "observations-replay.json"
  ],
  "corpus_targets": [
    "https://hesela.com/analyses/posix-acl-restore-permissions/",
    "https://hesela.dev/terms/file-descriptor/",
    "https://hesela.dev/terms/open-file-description/",
    "https://hesela.dev/terms/memory-mapped-file/"
  ]
}
