以下是我得到的结果:
$ google-chrome
[5934:5934:0812/222947:ERROR:process_singleton_linux.cc(394)] readlink failed: Permission denied
[5934:5934:0812/222947:ERROR:process_singleton_linux.cc(240)] readlink(/home/julian/.config/google-chrome/SingletonLock) failed: Permission denied
[5934:5934:0812/222947:ERROR:process_singleton_linux.cc(240)] readlink(/home/julian/.config/google-chrome/SingletonLock) failed: Permission denied
[5934:5934:0812/222947:ERROR:process_singleton_linux.cc(264)] Failed to create /home/julian/.config/google-chrome/SingletonLock: Permission denied
[5934:5934:0812/222947:ERROR:process_singleton_linux.cc(394)] readlink failed: Permission denied
[5934:5934:0812/222947:ERROR:process_singleton_linux.cc(240)] readlink(/home/julian/.config/google-chrome/SingletonLock) failed: Permission denied
[5934:5934:0812/222947:ERROR:chrome_browser_main.cc(1209)] 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.
[5934:5965:0812/222947:ERROR:nss_util.cc(737)] Error initializing NSS with a persistent database (sql:/home/starkers/.pki/nssdb): NSS error code: -8187
这是我的错,因为我弄错了权限。不过我想知道如何让 chrome 重新运行。
是否有某种命令可以重置权限?我承认我有点胆小,但我不想重新安装 :(
答案1
发出此命令:
sudo chown -R julian:julian ~/.config
要恢复整个帐户的所有权:
sudo chown -R julian:julian ~