Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
os: RemoveAll blocks indefinitely on large directories without permissions #29921
What version of Go are you using (
Here is a patch of 1.12beta2 that solves this problem. Hopefully this will more clearly illustrate the error conditions.
I'm not proposing this as a solution (it may create other cases I'm not familiar with), and there is still a similar logic error for the noat RemoveAll implementation.