@bcmills requested issue #63429 to be considered for backport to the next 1.21 minor release.
@gopherbot, please backport to Go 1.21. This was a behavior change in Go 1.21 impacting users of the os package, and its impact was not realized at the time.