Skip to content

Comments

fix perm to octal#2

Open
sukumo28 wants to merge 1 commit intoamlwwalker:masterfrom
sukumo28:fix-perm
Open

fix perm to octal#2
sukumo28 wants to merge 1 commit intoamlwwalker:masterfrom
sukumo28:fix-perm

Conversation

@sukumo28
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant