-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[BUG] Opening a unix fifo in "write" mode raises an exception #3208
Comments
Looks like we're attempting to clear the the file before writing. This reproduces if the file is in a location that's owned by root but doesn't reproduce if the file is in a location owned by the user. |
Well even in a location owned by the user, I tried |
Does that happen when you open it for reading with "r". I would expect that to happen when it's open for writing because the file is cleared out before writing happens….I believe that's how it works in Python as well. |
"r" opens the file without data loss, sounds like an "rw" option is needed. |
Bug description
I'm not sure why this is failing, mentioned it on Discord and was asked to open an issue:
This is the pipe:
Steps to reproduce
System information
The text was updated successfully, but these errors were encountered: