Re: [Boost-bugs] [Boost C++ Libraries] #8581: Files in C:\ProgramData\boost_interprocess are not accessible.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8581: Files in C:\ProgramData\boost_interprocess are not accessible.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-06 03:23:06


#8581: Files in C:\ProgramData\boost_interprocess are not accessible.
-------------------------------------------------+-------------------------
  Reporter: Andreas Neustifter | Owner: igaztanaga
  <andreas.neustifter@…> | Status: new
      Type: Bugs | Component:
 Milestone: To Be Determined | interprocess
   Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+-------------------------

Comment (by boost.tim-nospam@…):

 '''Automating the Alternative Workaround'''[[BR]]

 Execute the following commands to remove, recreate and secure the
 directory. This will grant "'''Authenticated Users'''" access to modify
 all files and folders within the '''C:\programdata\boost_interprocess'''
 directory.

 {{{
 RD "C:\ProgramData\boost_interprocess" /S /Q
 MD "C:\ProgramData\boost_interprocess"
 icacls "C:\programdata\boost_interprocess" /inheritance:e /grant:r
 "Authenticated Users":(OI)(CI)M
 }}}


 '''Root-Cause Fix'''[[BR]]

 In my opinion, the solution to this issue is to have the Interprocess
 library write its files to the '''%TEMP% directory''' of whichever user
 account is executing the library. This directory should always allow the
 user Full Control.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8581#comment:10>
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:14 UTC