/root的默认权限是什么?

不知道自己在哪个目录下,我在 /root 中执行了 "chmod 777 ."。 现在我想将 /root 的权限设置回默认值。 请问有人能告诉我 /root 的正确默认权限吗? 应该是 700 吗?

我认为文件系统的权限应该是755。 - Mitch
您的问题可能会得到回答,但我一段时间前找到了这个链接,它可能有所帮助。 - Wilf
1个回答

drwx------   4 root     root      4096 okt 29 20:00 root

/root/目录中的文件:

drwx------  4 root root 4096 okt 29 20:00 .
drwxr-xr-x 23 root root 4096 okt 25 22:34 ..
-rw-r--r--  1 root root 3106 okt 28  2012 .bashrc
drwx------  4 root root 4096 okt 29 20:00 .config
drwx------  3 root root 4096 okt 29 20:00 .dbus
-rw-r--r--  1 root root  140 okt 28  2012 .profile

你需要从.dbus和/或.config中获取什么吗? - Rinzwind