Skip to content

Commit b1c5f1b

Browse files
add debug log
1 parent e57c69d commit b1c5f1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

base/file.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ function rm(path::AbstractString; force::Bool=false, recursive::Bool=false)
296296
catch err
297297
if !(isa(err, IOError) && err.code==Base.UV_EACCES)
298298
rethrow()
299+
else
300+
@warn "Cannot delete due to UV_EACCES: $fp" stat(fp)
299301
end
300302
end
301303
end

0 commit comments

Comments
 (0)