How can I become the owner of a file that origins from another pc / user?
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?
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.