title: Python Selenium - [Error 5] Access is denied when trying to quit a browser instance
body: <p>I don't know why, but I got this error a lot recently(not every time):</p>
  
  <pre><code>Access is denied: 'c:\\docume~1\\shanew~1\\locals~1\\temp\\tmpijz7zu\\cookies.sqlite-shm'
  </code></pre>
  
  <p>code is like:</p>
  
  <pre><code>profile = webdriver.FirefoxProfile()
  browser = webdriver.Firefox(profile)
  ...
  browser.quit()
  </code></pre>
  
  <p>Anybody knows how to fix this?</p>
  
  <p>P.S.: The program is running on a VirtualBox win XP professional 32 bit, the only thing I did recently was update the driver to make it compatible with multiprocessors. Maybe it has something to do with above errors?</p>