id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3884,boost fstream 'enforces' in AND out mode. It should be be possible to open a read-only file using fstream.,Sachin Garg ,Beman Dawes,"boost fstream 'enforces' in AND out mode by adding both in and out flags to the user specified file open mode. Check boost\filesystem\fstream.hpp line 479, it does: mode | std::ios_base::in | std::ios_base::out This makes it impossible to use fstream object to open a file for only reading or writing. This is especially troublesome when trying to open a read-only file as open call will fail with access denied error. Fix: fstream should not modify 'mode' value and use the user specified value as is.",Bugs,closed,To Be Determined,filesystem,Boost 1.41.0,Problem,fixed,,schngrg@…