Google Chrome error – Your preferences can not be read

Google Chrome

Google Chrome

Sometimes Google Chrome under Linux or Ubuntu gives the following error:
Your preferences can not be read.
Some features may be unavailable and changes to preferences won’t be saved.

This is because the owner of the following files have been changed for some unknown reason:
Under /home/[user]/.config/google-chrome/ the file Locale State and under /home/[user]/.config/google-chrome/Default the file Preferences.

Where user is the supposed name of the user.

To fix the problem, run the following commands (replacing user with the actual username):

sudo chown user:user /home/user/.config/google-chrome/Locale\ State
sudo chown user:user /home/user/.config/google-chrome/Default/Preferences

InshAllah the problem will be solved!

Note: This tip is for Linux, for Windows please read the comments.