Subj : fopen creates read only file To : borland.public.cpp.borlandcpp From : kaburga Date : Tue Jun 22 2004 08:27 am When I try to create a new file under heavy load( especially when there are many other opened files), sometimes the new file is created with Read Only attribute. I use fopen or open, the result is the same. Any suggestions would be greatly appreciated. My compiler is BC 5.02 My code examples: fp = fopen("c:\\test.log", "a"); open("c:\\test.log", O_CREAT|O_TRUNC|O_BINARY|O_RDWR); .