Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Recently installed 11.04 version of ubuntu. Wanted to create a folder in the root of the fileSystem, but the persmission was denied. Tried with chown and chmod but no result.

Kindly assist me

share|improve this question
add comment

1 Answer

You have to be root to be able to create a directory in /.

So if you have sudo installed you can just type sudo mkdir /<yourdir> and change the permissions afterwards with e.g. sudo chown $USER:$USER /<yourdir>. If you don't have sudo installed you have to login as root (type su in a terminal) and execute the commands without the preceding sudo.

If I understood you correctly you tried a to change the ownership of the root file system. Don't do that!

share|improve this answer
1  
You can assume sudo to be installed since we all use Ubuntu ;) –  Rinzwind May 9 '12 at 6:46
add comment

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.