您的位置:首页 > 其它

Ubuntu下解决"firefox profile cannot be loaded it may be missing or inaccessible"

2015-08-31 20:58 651 查看
今天打开Ubuntu的Firefox时突然出现了如下错误:

“firefox profile cannot be loaded it may be missing or inaccessible”。

意思是Firefox无权访问配置目录了。造成这个问题的最有可能原因是root时使用了firefox。

Firefox的配置目录有两个:在你的用户主目录下有隐藏目录,.mozilla 和 .cache/mozilla。

在终端中执行如下命令

cd ~
sudo chown -R username:usergroup .mozilla
sudo chown -R username:usergroup .cache/mozilla


其中username替换为你的用户名,usergroup替换为你的用户组名(一般与用户名相同)。

再打开Firefox,火狐又复活了!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu firefox profile