query: HowTo lock a file, read its content and overwrite it?
positive_passages.docid: 148608
positive_passages.text: How to both read and write a file in C#
negative_passages.docid: 142403
negative_passages.text: Is there a way to lock command line?
negative_passages.docid: 155040
negative_passages.text: How do I delete files that are locked when no other app can delete them?
negative_passages.docid: 59781
negative_passages.text: How I do to modify the contents of a ISO file?
negative_passages.docid: 88847
negative_passages.text: Write to text file without overwriting in Java
negative_passages.docid: 155630
negative_passages.text: How do I delete a read-only file?
negative_passages.docid: 10991
negative_passages.text: Still able to read file after changing permissions
negative_passages.docid: 53070
negative_passages.text: How to modify a text file?
negative_passages.docid: 90733
negative_passages.text: Write to a file without redirection?
negative_passages.docid: 117626
negative_passages.text: How would you implement your own reader/writer lock in C++11?
negative_passages.docid: 84331
negative_passages.text: How do I lock a file in Perl?
negative_passages.docid: 80603
negative_passages.text: How to create a copy of a file immediately when it's created?
negative_passages.docid: 83969
negative_passages.text: How can I execute a file without execute permissions?
negative_passages.docid: 82141
negative_passages.text: How to make reading and writing the same file in the same pipeline always "fail"?
negative_passages.docid: 1568
negative_passages.text: How do I delete a 'locked' file?
negative_passages.docid: 96339
negative_passages.text: refresh changed content of file opened in vi(m)
negative_passages.docid: 106046
negative_passages.text: How do I programmatically change file permissions?