-
Notifications
You must be signed in to change notification settings - Fork 18k
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
syscall: should contain X_OK, R_OK & W_OK for use with syscall.Access() #6262
Labels
Comments
syscall.Access can be used because these constants are the same as the file permission bits. R_OK=4, W_OK=2, X_OK=1, F_OK=0, on all systems. People just wrote the numbers before POSIX came along and decided to name everything. Not critical, so leaving for Go 1.3. Labels changed: added go1.3maybe, removed go1.2maybe. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: