Skip to content

Commit ea9d2bb

Browse files
committed
Revert "win: Set correct folder permissions after folder creation (#38942)"
This reverts commit 30ce7da.
1 parent b2484a7 commit ea9d2bb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

base/file.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ function mkdir(path::AbstractString; mode::Integer = 0o777)
179179
uv_error("mkdir($(repr(path)); mode=0o$(string(mode,base=8)))", ret)
180180
end
181181
ccall(:uv_fs_req_cleanup, Cvoid, (Ptr{Cvoid},), req)
182-
# mode is not implemented in mkdir in libuv yet, so do it here
183-
Sys.iswindows() && chmod(path, mode)
184182
return path
185183
finally
186184
Libc.free(req)

0 commit comments

Comments
 (0)