PDA

View Full Version : [ubuntu] copying files from root to VM



batb
May 25th, 2012, 06:05 PM
1) I am trying to copy files into a user's shell directory that I have created on my Virtual Machine, but it doesn't allow me to do a copy/paste into the user's directory.
2) What is the correct way for a root user to create a directory for data and document files that multiple users can access as the need arises?

darkod
May 25th, 2012, 06:15 PM
If you are talking about a folder with R/W permissions for all, I usually do:

sudo chmod a+rw /path/folder

That gives read/write to all.

batb
May 25th, 2012, 07:34 PM
If you are talking about a folder with R/W permissions for all, I usually do:

sudo chmod a+rw /path/folder

That gives read/write to all.

thanks Darko, that worked