-
Notifications
You must be signed in to change notification settings - Fork 71
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
Support chmod
in Eio_linux and Eio_posix
#785
base: main
Are you sure you want to change the base?
Conversation
9873fb6
to
d25bfbf
Compare
Co-Authored-By: Daniel Ntege <[email protected]>
d25bfbf
to
5068db1
Compare
It seems |
Changing |
C.C_define.import c ~c_flags | ||
~includes:["fcntl.h"] | ||
C.C_define.Type.[ | ||
"AT_SYMLINK_NOFOLLOW", Int; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can get this from uring I think (Statx.Flags.symlink_nofollow
).
This PR is a tidied up version of #772
I'm not really sure what to do on Windows --
Unix.chmod
does use_wchmod
but the Unix-y permissions don't really make much sense on Windows afaict. Perhaps this isn't a problem for this PR.