What are the default permissions for /root?

10,304
drwx------   4 root     root      4096 okt 29 20:00 root

Files in /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
Share:
10,304
Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    Not realizing what directory I was in, I did a "chmod 777 ." in /root. Now I would like to set the permissions for /root back to the default. Can someone please tell me the correct default permissions for /root? Should it be 700 ?

    • Mitch
      Mitch over 10 years
      I think file system have permission of 755.
  • Rinzwind
    Rinzwind over 10 years
    do you need anything from .dbus and/or .config?