Root folder on my Ubuntu 16.04 with an (X)
I formatted my notebook just now and I installed Ubuntu LTS 16:04, and the folder /root
shows with a (X).
Question 1: Why?
Question 2: How to solve this problem?
Notebook- Dell Vostro-14-5480 Memory- 4GB Processor- i3 HD- 500
Solution 1:
That's not an error - it's telling you that you do not have permission to read the files in that directory as a normal user as you will see if you click on it.
If you want to see the contents of the directory you must do so as root. In a terminal type:
sudo -i nautilus
You notice that you have to enter your password. Now you have root privilege so you can view, edit and delete anything you want, so you should be careful because you could break your system - you shouldn't use root permission unless you really need to.
When finished, type exit
in the terminal to drop privileges.
You can learn more about permissions in Linux filesystems here and from the permissions tag wiki.
Solution 2:
This is normal ... the X indicates you do not have permissions to view root folder ... If you want to use the file manager (nautilus) while logged in as root then from a terminal issue
sudo -i
then in same terminal issue
nautilus
once there you can see there is no longer the X