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

Language:
English Edit question
Status:
Solved
For:
Ubuntu adduser Edit question
Assignee:
No assignee Edit question
Solved by:
Thomas Krüger
Solved:
2014-07-30
Last query:
2014-07-30
Last reply:
2014-07-29
Best Thomas Krüger (thkrueger) said : #1

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

  mount

  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.