Skip to content

os: RemoveAll does not ignore EINTR #57966

@nigeltao

Description

@nigeltao

The os.Remove function ignores EINTR when calling syscall.Unlink, as of cl/249178 (August 2020).

The os.RemoveAll function does not when calling unix.Unlinkat but should, to be consistent.


As the cl/249178 commit message says:

When using a FUSE file system, any system call that touches the file system can return EINTR.

and we are indeed observing os.RemoveAll returning EINTR on a FUSE file system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions