-
Notifications
You must be signed in to change notification settings - Fork 9
Remove read-only files on Windows #13
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
Conversation
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
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.
I haven't tested it using Windows (it was the original issue), but if the triagge-man says it works, go ahead!
Yes, I tested it under Windows overriding the |
Indeed is terrible testing it, you need to install, change Conan's requirements and run Conan. |
Hi!
When removing read-only files (os.unlink) on Windows, the current behavior is raise an exception. To fix this situation, we need to add write permission to that file.
Related issue: conan-io/conan#6676
We should release a new tag after this PR, and of course, release it on pypi.org (automatic operation related to current version).
Also, Conan will require a new patch version, because we are using a specific version for patch-ng there: https://github.com/conan-io/conan/blob/1.23.0/conans/requirements.txt#L6