wingit
wingit copied to clipboard
fix perm to octal
Hi. I found you passing a perm for WriteFile method as decimal. But you want to pass it as octal arn't you?
For example,
0777
is 111111111
in binary and it means rwxrwxrwx
.
777
is 1100001001
in binary and it means r----x--x
.