Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit b865272

Browse files
author
Huy ☭
committed
Merge pull request #1 from VKlayd/master
Fix permissions for temporary directory
2 parents 1e5aa82 + 21cadf8 commit b865272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tempfile.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ proc mkdtemp*(prefix = "tmp", suffix = "", dir = ""): string =
6161
when defined(windows):
6262
createDirectoryW(path)
6363
else:
64-
discard mkdir(path, 0700)
64+
discard mkdir(path, 0o700)
6565
return path
6666
except:
6767
discard

0 commit comments

Comments
 (0)