id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7273,Files created by boost::iostreams::mapped_file have unexpected permissions on Linux,Mika Fischer ,Jonathan Turkanis,"The mapped_file class opens the file unconditionally via: {{{ #!c++ ::open(p.path.c_str(), flags, S_IRWXU); }}} Which sets the permissions to read, write, execute for the owner and no permissions for group or others. This is quite unexpected, and since it cannot be changed by the caller, I think a more sane default behavior would be to just use the default of open and let the user's umask decide the permission of newly created files. I.e. just remove the last parameter: {{{ #!c++ ::open(p.path.c_str(), flags); }}}",Bugs,new,To Be Determined,iostreams,Boost 1.51.0,Problem,,,