We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I found out that you pass 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.
0777
111111111
rwxrwxrwx
777
1100001001
r----x--x
If you want to set perm r----x--x, you should use 0411 instead of decimal 777.
0411
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hi.
I found out that you pass a perm for WriteFile method as decimal.
But you want to pass it as octal arn't you?
For example,
0777
is111111111
in binary and it meansrwxrwxrwx
.777
is1100001001
in binary and it meansr----x--x
.If you want to set perm
r----x--x
, you should use0411
instead of decimal777
.The text was updated successfully, but these errors were encountered: