right guys, as most of you know, running kubuntu and vmware, added new HDD, moved most VM’s to new HDD but i have to run vmware as / to view all VM’s, how do i configure the permissions of new HDD ?
[ot]VMware doesn’t like it when i run more that 4 OS’s at once, even with 768Mb RAM[/ot]
vmware, accessing new HDD
Can you browse the new hard drive in Konqueror?
Check the file permissions in Konqueror first.
vmware, accessing new HDD
konqueror can view it (both hdb2 & hdb5, VM,s on hdb2) but cant modify contents, that why i’ve been running VMware as root
not sure how to setup permissions
http://img383.imageshack.us/img383/1391/prophdb5ts6.th.png
just what exactly do “Group” & “Others” refer to ?
[ot]check this , hope it’ll cheer you up a bit[/ot]
vmware, accessing new HDD
Shouldn’t you be the owner of those VM machines rather then root?
If so, type:
sudo chown -R <your_username>:<your_usergroup> <folder_or_file>
For example, I would type:
sudo chown -R megamaced:users /vmware/windows98vm
vmware, accessing new HDD
wouldn’t that just change the ownership of a single VMware VM ?
how do i change the ownership of hdb2 (partition, or mount point /mnt/hdb2)
if i changed the ownership of /mnt/hdb2, then all sub directories & files would then be owned by the user
vmware, accessing new HDD
sudo chown -R <your_username>:<your_usergroup> /mnt/hdb2
The -R switch specifies all sub-directories
vmware, accessing new HDD
sorry, but i don’t know what <my_usergroup> is,
how do i find out ?
vmware, accessing new HDD
found group
http://img170.imageshack.us/img170/4917/usergroupjg2.th.png
:doh: i’m not called donkey for nothing (although to begin with, i just thought it was funny)
vmware, accessing new HDD
after sudo chown -R dave:dave /mnt/hdb2
VMware run as root
http://img228.imageshack.us/img228/4200/vmwareasrootoi5.th.png
and VMware run as user
http://img183.imageshack.us/img183/9646/vmwareasuserck3.th.png
(note the difference between VMware images, a lot more VM’s if VMware run as root)
and when i try to add a VM, i get this error
http://img168.imageshack.us/img168/7598/vmwareerrorgh4.th.png
obviously i don’t know what i’m doing
what next ?[ot]i now know what “group” is, but what is “other”, anyway i’ll keep looking, to see if i can sort it[/ot]
You said that your virtual machines are stored on hdb2 but that error message says 'Unable to open virtual machine on /mnt/hdb5.
Have you configured the correct permissions on /mnt/hdb5?
The Linux permissions structure is as follows:
Owner: The user who created the file
Group: Other users in the same group as the owner.
Other: Any other user
These groups do not apply to the root account. The root account has access to everything regardless of permisssions
let me check a few things
The Linux permissions structure is as follows:
Owner: The user who created the file
Group: Other users in the same group as the owner.
Other: Any other user
These groups do not apply to the root account. The root account has access to everything regardless of permisssions
thanks
yeah, VM’s are on hdb5, so i need to setup the permissons of hdb5
Edit:i don’t know how or why i thought they were on hdb2, i’ll just blame it on MS (everything else is their fault)
[ot]i’m like British Rail from 10 years ago “i’m getting there”, but its bugging me how slow the journey is[/ot]
So what is on /mnt/hdb2 then?
You should make sure that the permissions you set in error for that hdb2 are OK
just a load of .iso images
ok, thanks