Re: [Boost-bugs] [Boost C++ Libraries] #2996: [iostreams] Can't open mapped_file data file for read/write access on Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2996: [iostreams] Can't open mapped_file data file for read/write access on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-19 09:15:31


#2996: [iostreams] Can't open mapped_file data file for read/write access on
Windows
----------------------------------------------+-----------------------------
 Reporter: Allen Cronce <acronce@…> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: iostreams
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
----------------------------------------------+-----------------------------

Comment(by anonymous):

 GENERIC_ALL maps to Full Control in windows... Whereas GENERIC_READ and
 GENERIC_WRITE map to your standard Read and Write permissions. Full
 control adds extra permissions for execute, plus things like Take
 Ownership and Change Permissions.

 I cant imagine why you would need GENERIC_ALL in the case for opening the
 mapped file for writing. So I agree with the original poster that the
 reference to GENERIC_ALL should be GENERIC_READ | GENERIC_WRITE instead.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2996#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC