We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f8bdc2 commit ed89ae7Copy full SHA for ed89ae7
test/file.jl
@@ -1543,3 +1543,16 @@ end
1543
chmod(dir, 0o777; recursive=true)
1544
end
1545
1546
+
1547
+if Sys.iswindows()
1548
+@testset "mkdir/rm permissions" begin
1549
+ # test delete permission in system folders (i.e. impliclty test chmod permissions)
1550
+ # issue #38433
1551
+ @test withenv("TMP" => "C:\\") do
1552
+ mktempdir() do dir end
1553
+ end === nothing
1554
+ # same as above, but test rm explicitly
1555
+ tmp = mkdir(tempname("C:\\"))
1556
+ @test rm(tmp) === nothing
1557
+end
1558
0 commit comments