Merge pull request #11786 from MikeMcQuaid/cleanup_permissions

extend/pathname: handle missing permissions on removal.
This commit is contained in:
Mike McQuaid 2021-07-28 16:02:55 +01:00 committed by GitHub
commit 13d3eab24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,7 +261,7 @@ class Pathname
else
false
end
rescue Errno::EACCES, Errno::ENOENT, Errno::EBUSY
rescue Errno::EACCES, Errno::ENOENT, Errno::EBUSY, Errno::EPERM
false
end