Hi all,

Ubuntu 12.04 desktop 64bit

I have /data partition created for keeping data including VMs of Oracle VirtualBox. /data is owned by root. How to allow users to run VMs?

1)
Whether

Give rwx permission to the users of the group
$ sudo chmod go+rwx -R /data

$ cat /etc/group | grep data
www-data:x:33:

Add users allowed to group
Code:
www-data:x:33:userA userB userC etc

2)
How to allow userA userB userC etc running the VM owned by them only?

Now;
$ ls -al /data/VirtualBox\ VMs/
Code:
total 12
drwxrwxr-x 3 satimis satimis 4096 Dec 29 00:49 .
drwxr-xr-x 7 satimis satimis 4096 Dec 29 00:48 ..
drwx------ 3 satimis satimis 4096 Dec 29 00:52 cloudera
drwx------ 2 satimis satimis 4096 Dec 29 10:50 deb600dk00
etc.
satimis is the Administrator
e.g.
userA owns cloudera
userB owns deb600dk00

3)
How to allow other users, say userX userY userZ, to save/read/write their own files on /data NOT /home of Ubuntu?

TIA


Regards
satimis