Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Filesystem]: rm(; recursive=true) should ignore UV_EACCES #47668

Merged
merged 1 commit into from
Nov 24, 2022

Commits on Nov 24, 2022

  1. [Filesystem]: rm(; recursive=true) should ignore UV_EACCES

    The command-line program `rm` has no problem deleting an empty directory
    that we do not have listing permissions on, so we should follow suit.
    
    Example:
    
    ```
    mktempdir() do dir
        mkpath("$(dir)/foo")
        chmod("$(dir)/foo", 0o200)
        rm(dir; recursive=true)
    end
    ```
    staticfloat authored and maleadt committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    b630c20 View commit details
    Browse the repository at this point in the history