I just installed elementary OS dual booted with windows 10. After the installation. I saw that the
/ root directory has every file and folder locked. I can't rename, delete or create anything there.
Home directory is fine. I ran
sudo chown -R $USER: /
command from internet to get permissions and all folders were unlocked. But now after reboot I can't login. It just doesn't show the login screen. It shows a black screen with blinking
I want to ask the following -
- Are the root directory folders locked by default? If they are, do I need to unlock them for some reason in future for installing some software or any other reason? If I need them unlocked for some purposes, how should I do it correctly?
- I pressed
Ctrl+Alt+F1on black screen and I can login as my username. But couldn't do much. Can I reverse the process to login again? If yes how?
- I can see my windows disks under
other locations. All files can be read but are locked which is fine and I want them to be like that. But is there any possibility that those files can be deleted by me by running some commands?
I am kind of new to linux. I don't understand when I am the only user, why root has the permissions. And if root has the permissions, I am only one using the OS so how to do things which only root has the permission to do? I tried googling this thing but couldn't understand it properly.