chrome 发生错误

chrome 发生错误

当我打开已安装的谷歌浏览器时

google-chrome-stable

然后显示:

[0503/011955.057655:ERROR:nss_util.cc(94)] Failed to create /home/abhi/.pki/nssdb directory.
[0503/011955.102455:ERROR:nss_util.cc(94)] Failed to create /home/abhi/.pki/nssdb directory.
[8512:8549:0503/011955.251332:ERROR:nss_util.cc(94)] Failed to create /home/abhi/.pki/nssdb directory.
[8512:8512:0503/011955.355846:ERROR:process_singleton_posix.cc(416)] readlink failed: Permission denied
[8512:8512:0503/011955.355902:ERROR:process_singleton_posix.cc(252)] readlink(/home/abhi/.config/google-chrome/SingletonLock) failed: Permission denied
[8512:8512:0503/011955.355935:ERROR:process_singleton_posix.cc(252)] readlink(/home/abhi/.config/google-chrome/SingletonLock) failed: Permission denied
[8512:8512:0503/011955.355945:ERROR:process_singleton_posix.cc(276)] Failed to create /home/abhi/.config/google-chrome/SingletonLock: Permission denied
[8512:8512:0503/011955.355961:ERROR:process_singleton_posix.cc(416)] readlink failed: Permission denied
[8512:8512:0503/011955.355972:ERROR:process_singleton_posix.cc(252)] readlink(/home/abhi/.config/google-chrome/SingletonLock) failed: Permission denied
[8512:8512:0503/011955.356132:ERROR:chrome_browser_main.cc(1571)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.

请告诉我我正在解决的问题。

答案1

似乎您没有该~/.config路径的写权限。

跑步:

mv ~/.pki{,.bk}
chown -R $USER:$USER ~/.config

如果仍然有问题:

chown -R 775 ~/.config

如果在运行这些命令时出现任何权限错误,请使用 以 root 身份运行它们sudo

相关内容