Linux Gnome: gconf-sanity-check-2 Exited With Status 256 Error

清除nginx缓存不小心把/tmp 目录给删除了,重启系统后错误提示如下:


there is a problem with the configuration server


(/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256)


解决方法:

查看/tmp权限与所有者。如果该目录不存在需要手动创建一个。

# ls -ld /tmp/
drwxr-xr-t. 10 root root 4096 Jun  4 16:27 /tmp/

设置正确的权限

# chown -R root:root /tmp
# chmod 1777 /tmp