9

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?

8

Command line instructions:

Use the chown command.

Example:

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

  • worth a +1 :P – htorque Dec 13 '10 at 19:39

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