Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I do not have access to my root folder: Ubuntu says I do not have the necessary permissions to access it. I also cannot access lost + found, which gives me the same error message

Is there anyone here that can provide answers to these questions?

share|improve this question

1 Answer

Yes, this is normal to Ubuntu and every Linux distributions. You can't access to the root folder because that folder is owned by root and it's user folder.

But, you can access that folder if you really want by using sudo -i command in the terminal. Be warned that, if you mess anything, it is your responsibility.

Also using nautilus by Pressing Super+F2 key and typing gksu nautilus

Changing permissions of root folder.

Assuming you want to change the permission of root user's home folder, which is /root folder, I would say, it is very bad idea to do so. Because, if you change the permission of root's home and you delete or modified some crucial file there, This may result in totally un-usable system. You may need to install Ubuntu from scratch.

But, if you really want it, the command is chmod:

sudo chmod -R 777 /root

will let you gain access to the /root folder. See the manual page for chmod command here.

To learn more about File permissions, Read this

share|improve this answer
Ok Thanks, but how can I change permissions so I can have access to those folders, what commands do I need or can you please provide a link for listed commands, I'm new to ubuntu. Thanks – zanxt Sep 15 '12 at 7:03
@zanxt see my updated answer – Anwar Sep 15 '12 at 7:37
2  
Be aware that the security of Linux and Ubuntu relies on such things as not being logged in as root, and maintaining the permissions on system and root files as they have been set up. There's really very little reason why you would need to get access to the root folder in normal use. It is only there to provide compatibility with those processes that do need to be root. – fabricator4 Sep 15 '12 at 8:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.