title: UnauthorizedAccessException when creating a mutex
body: <p>Given the following piece of code that uses a Mutex :</p>
  
  <pre><code>string mutexName = @"Global\MyMutex";
  
  try
  {
      _mutex = Mutex.OpenExisting(mutexName, MutexRights.Synchronize);
  }
  catch (WaitHandleCannotBeOpenedException)
  {
      SecurityIdentifier securityIdentifier = new SecurityIdentifier(WellKnownSidType.WorldSid, null);
      MutexSecurity mutexSecurity = new MutexSecurity();
      mutexSecurity.AddAccessRule(new MutexAccessRule(securityIdentifier, MutexRights.Synchronize, AccessControlType.Allow));
  
      bool dummy = false;
  
      // Creates the internal Mutex without taking ownership on it.
      _mutex = new Mutex(false, mutexName, out dummy, mutexSecurity);
  }
  </code></pre>
  
  <p>For some of my users, when the Mutex gets created (in the catch block), an UnauthorizedAccessException is thrown. I'm trying to find what cause this exception.</p>
  
  <p>The message is </p>
  
  <blockquote>
    <p>Access to the path 'Global\MyMutex' is denied.</p>
  </blockquote>
  
  <p>I know that some of the users having the problem are not administrator of their pc.
  I've read on MSDN about Mutex and MutexAccessRule, but it is not clear to me where I can assign or see permissions related to Mutex for a given user.</p>