(gedit:5943): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: 创建文件“/root/.local/share/recently-used.xbel.FVTZ9V”失败:没有那个文件或目录
(gedit:5943): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: 没有那个文件或目录
解决:
sudo mkdir -p /root/.local/share/
分析:
由于ubuntu默认不启用root账户,所以root就从来没登录过,所以就没有/root/.local/share/目录
本文介绍了解决Ubuntu系统中根用户文件权限问题的方法。由于默认未启用root账户导致缺少必要目录,通过使用sudo命令创建缺失的目录来解决警告错误。

2013

被折叠的 条评论
为什么被折叠?



