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.

This question already has an answer here:

I am an emigrant from Windows but I am having a serious problem which is changing the Root permission.

I tried to changed the owner by doing right click and change the permission but it's not working.

Can any one help me to move these folder?

share|improve this question

marked as duplicate by Eric Carvalho, Seth, Raja, Salem, LnxSlck Mar 22 '13 at 18:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
Hello and welcome! I think what you are looking for may be the answers to this question –  carnendil Mar 21 '13 at 22:20
    
Can you provide more information about exactly what you're trying to do? –  Eliah Kagan Mar 21 '13 at 23:12

2 Answers 2

You could do this by using the chown command.

Usage: chown -R $user $directory

For example, if you wanted to change the permission of folder you created as root named "example" inside your home directory, you would first obtain root privileges by typing su, and then run chown -R ousman /home/ousman/example, assuming your username is "ousman". The "-R" stands for "recursive", so that the owner of the files inside the directory changes as well.

share|improve this answer

There are a few good ways to do this:

Graphical method:

press alt+f2 or open a new terminal window and type:

gksu nautilus

"browse to and right click on the folder you would like to modify. Then, select "Properties" from the context menu. You can now select the user or group that you would like to be the "Owner" of the folder as well as the permissions you would like to grant them. Finally, press "Apply Permissions to Enclosed Files" to apply the changes recursively.

Though it seems this does not always work for some operations in a deep folder tree. If it does not work use the appropriate terminal command."

-andrewsomething

Geeky way: enter the following into the terminal (replacing username and directorypath with your username and the path of the folder you want to modify):

sudo chown -R username directorypath

If you are not shure what your username is, (case sensitive!) see the top of the terminal window, it should be something like:

Name@computername 

A simple way to paste the directory path is to pull it into the terminal window

share|improve this answer

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