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-10-02 20:01:30
#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 Andreas Neustifter <andreas.neustifter@â¦>):
Replying to [comment:4 boost.tim-nospam@â¦]:
> This is failing because the Boost library is unable to write to this
file:
> '''C:\ProgramData\boost_interprocess\application.sh_client_log'''
> [[BR]]
>
> The NTFS permissions are set on this folder by the *'''first person'''*
to run the app.
> The permissions allow the initial CREATOR full control, however no-one
else can modify the file afterwards.
> [[BR]]
>
> These permissions are Windows default and are not unique to our
workstations.
> [[BR]]
Yes, that is what we see too. In our case a service running as "Local
Service" user creates the file, then regular users can not access it.
Replying to [comment:5 boost.tim-nospam@â¦]:
> '''ALTERNATIVE WORKAROUND:'''[[BR]]
> An administrator should manually '''remove and reset''' the permissions
on the C:\ProgramData?\boost_interprocess folder.
> [[BR]]
>
> '''1)''' Delete the C:\ProgramData?\boost_interprocess folder from the
machine[[BR]]
> '''2)''' Create a new C:\ProgramData?\boost_interprocess folder[[BR]]
> '''3)''' Grant Localmachine\Users Modify rights to the
C:\ProgramData?\boost_interprocess folder, subfolders and files.
Ah, nice, I will try that.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8581#comment:6> 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