Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a file from another pc with ubuntu, the owner of the file is my user account from this pc. How do I change the owner to my useraccount on another pc so that I can use it?

When i try to change file permissons via nautilus i get the message you're not the owner, that's the reason you can't file permissions.

But i'm the owner just on another Ubuntu with another account. Do i first have to change the rights on the origin Filesystem or can i take the rights somehow over?

share|improve this question
up vote 8 down vote accepted

Command line instructions:

Use the chown command.


sudo chown user file

Where user is the username on the second pc. This needs to be run from the second pc.

GUI instructions:

Run Nautilus with sudo privileges

  • Alt+F2
  • Enter gksu nautilus.
  • Enter your password.

  • Now you can right-click on a file, go to the Permissions tab and select the new owner from the Owner combobox.

    alt text

share|improve this answer
thank, exactly what i was looking for – NES Dec 12 '10 at 23:04
You could add instructions on how to change the owner of a file in Nautilus. :) – htorque Dec 13 '10 at 8:52
@htorque How's that? – Alvin Row Dec 13 '10 at 18:49
worth a +1 :P – htorque Dec 13 '10 at 19:39

Your Answer


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.