-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
chmod() missing Julia-side #7574
Comments
Quoting from https://github.com/joyent/libuv/blob/8d11aacb79472009189c35e8953d0fa316bfd202/src/win/fs.c#L867-L885:
Hmm. |
Wow I didn't realize things were this broken. |
I can do this one. Does it need a |
Question: does anybody want/use/understand |
chmod + string support I feel is a non-essential feature. This could always be added later. I vote keep it simple for the time being so this gets merged soon. |
Interactively, I use |
@tkelman will chmod at least let us delete readonly files on Windows or is this going to be broken? I thought that the above comment was more about file permissions. |
@jakebolewski in my testing switching the |
Crap. Python argument order |
+1 for python order |
Man, why these things gotta be nonstandard. mode, path
path, mode |
(mode, path...)? |
currently only integer modes, can do string modes like +x later fixes JuliaLang#7574
We could also do |
Most of our path and file stuff follows Python, so I'm inclined to follow Python here too. |
currently only integer modes, can do string modes like +x later fixes JuliaLang#7574
currently only integer modes, can do string modes like +x later fixes #7574 Conflicts: src/jl_uv.c
currently only integer modes, can do string modes like +x later fixes #7574 Conflicts: src/jl_uv.c
Alongside #7573, it seems that we do indeed have a
chmod
within libuv, but it's not wrapped in Julia at all. We should probably support that so that if we somehow manage to create a read-only file on Windows, we can make it writable so that we can delete it.The text was updated successfully, but these errors were encountered: