Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I believe I somehow messed up my user profile directories with my Chromium installation. Every time I launch Chromium, it tells me:

Chromium cannot read and write to its data directory:

C:\Users\Mark\AppData\Local\Chromium\User Data

It lets me choose another directory, and if I choose C:\Users\Mark\AppData\Local\Chromium\, then it launches fine. I can also add the command line argument --user-data-dir to point to the directory.

However, how can I modify the default (currently C:\Users\Mark\AppData\Local\Chromium\User Data) data directory to change it to the correct one? I don't only get this error when opening Chromium, but also when an application tries open my default browser.

share|improve this question
    
Try creating a directory named "Default" under C:\Users\Mark\AppData\Local\Chromium\User Data and point to it if asked by the browser. See if that works (and sticks). – Karan Feb 5 '13 at 5:04
    
That directory already exists, when I tried using that directory it just created a new profile at C:\Users\Mark\AppData\Local\Chromium\User Data\Default\Default. The directory that I believe I currently use is at C:\Users\Mark\AppData\Local\Chromium\Default. – Mark Feb 5 '13 at 5:08
    
If you're trying to use a whole new user data dir, you might prefer to just delete (or rename) the current one and then Chromium should create it when you start it up. – MatrixFrog Feb 5 '13 at 5:14
    
I'm not trying to create a new data directory, but to edit the default profile it tries to use when it starts up, and change it to my current profile (C:\Users\Mark\AppData\Local\Chromium\Default). – Mark Feb 5 '13 at 5:17

Solved it by doing the following:

  • Deleted C:\Users\Mark\AppData\Local\Chromium\User Data, since there was no real profiles in it anyway.
  • Started Chromium. It created a new profile at C:\Users\Mark\AppData\Local\Chromium\User Data\Default, without any bother. Then closed Chromium.
  • Move and merge my real profile (C:\Users\Mark\AppData\Local\Chromium\Default) in to the newly created profile, then start Chromium. It detects it and runs without any hassle.
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .