-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
fix perm to octal #1
Comments
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
I found out that you pass a perm for WriteFile method as decimal.
But you want to pass 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: