Moving files from Xubuntu 14.04 to Ubuntu 14.04

Asked by Budmaester on 2014-07-29

I am using a usb stick to move user #2 files and directories from a laptop (Xubuntu 14.04) to a desktop (Ubuntu 14.04). A new user #2 was created on the desktop and set as Admin. The files on the USB drive show files owned by user #1. How can user data, files and directories be easily copied to the desktop and opened by user #2? All the files and folders are locked out to user #2. How can I create a user group that can be used to facilitate both users access to files?

Question information

English Edit question
Ubuntu adduser Edit question
No assignee Edit question
Solved by:
Thomas Krüger
Last query:
Last reply:
Best Thomas Krüger (thkrueger) said : #1

You can change the owner of the file.
To do that:
- open the Terminal
- run the command


  It show a list of the mountes file systems. Find your stick, it shuld be near the end of the list.
- copy the value after "on" and before "type". It's a directory.
- enter "cd " (note the space) and copy the directory behind it. Press Enter.
- run "l" you should see a list of the content of your stick now.
- run

  sudo chown -R username *

  Where username is the name of the new owner. If unsure, the command "whoami" will show it.

(All command have to be enteres without quotation marks.)

Budmaester (hheinbaugh) said : #2

Thanks Thomas Krüger, that solved my question.