title: EPERM, operation not permitted error, config store
body: <p>I know this is a common error with <code>node</code> but all my troubleshooting techniques seem to be failing.</p>
  
  <ul>
  <li>Windows 7 (32-bit)</li>
  <li>Node@0.10.10</li>
  <li>npm@1.2.25</li>
  </ul>
  
  <p>This issue occurs when trying to run package commands like <code>bower</code> and <code>yo</code> (Yeoman). For my sanity, I am in a Node.js command prompt running as an Administrator when executing these commands.</p>
  
  <p>For example, here is the output for running this with <code>yo</code>:</p>
  
  <pre><code>Error: EPERM, operation not permitted 'C:\Users\me\.config\configstore\insight-yo.yml'
      at Object.fs.openSync (fs.js:427:18)
      at Object.fs.writeFileSync (fs.js:966:15)
      at Object.create.all.set (C:\Users\me\AppData\Roaming\npm\node_modules\yo\node_modules\insight\node_modules\configstore\configstore.js:39:7)
      at Object.Configstore (C:\Users\me\AppData\Roaming\npm\node_modules\yo\node_modules\insight\node_modules\configstore\configstore.js:30:11)
      at new Insight (C:\Users\me\AppData\Roaming\npm\node_modules\yo\node_modules\insight\lib\insight.js:20:16)
      at Object.&lt;anonymous (C:\Users\me\AppData\Roaming\npm\node_modules\yo\bin\yo:25:15)
      at Module._compile (module.js:456:26)
      at Object.Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
  </code></pre>
  
  <p>Essentially, it seems the <code>node</code> process can't write to this <code>.config</code> folder. </p>
  
  <p>I've tried the following to troubleshoot:   </p>
  
  <ul>
  <li>Fresh installs of <code>node</code> and the individual packages (in every conceivable order)</li>
  <li>Setting write privileges for all users on the <code>.config</code> folder</li>
  <li>Reinstalling <code>git</code> after reading the notes for Windows users in the npm repository</li>
  </ul>
  
  <p>Any thoughts or troubleshooting techniques on this issue?</p>
  
  <p>Thanks!</p>