permissions & vmware

Discussion in 'Linux, BSD and Other OS's' started by donkey42, Oct 14, 2006.

  1. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    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]
     
  2. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    vmware, accessing new HDD

    Can you browse the new hard drive in Konqueror?

    Check the file permissions in Konqueror first.
     
  3. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    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

    [​IMG]

    just what exactly do "Group" & "Others" refer to ?

    [ot]check this, hope it'll cheer you up a bit[/ot]
     
  4. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    vmware, accessing new HDD

    Shouldn't you be the owner of those VM machines rather then root?

    If so, type:

    Code:
    sudo chown -R <your_username>:<your_usergroup> <folder_or_file>
    For example, I would type:

    Code:
    sudo chown -R megamaced:users /vmware/windows98vm
     
  5. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    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
     
  6. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    vmware, accessing new HDD

    sudo chown -R <your_username>:<your_usergroup> /mnt/hdb2

    The -R switch specifies all sub-directories
     
  7. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    vmware, accessing new HDD

    sorry, but i don't know what <my_usergroup> is,

    how do i find out ?
     
  8. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    vmware, accessing new HDD

    found group
    [​IMG]

    :doh: i'm not called donkey for nothing (although to begin with, i just thought it was funny)
     
  9. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    vmware, accessing new HDD

    after sudo chown -R dave:dave /mnt/hdb2
    VMware run as root
    [​IMG]

    and VMware run as user
    [​IMG]
    (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
    [​IMG]

    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]
     
  10. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    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
     
  11. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    let me check a few things
    thanks
     
  12. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    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]
     
  13. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    So what is on /mnt/hdb2 then? :)

    You should make sure that the permissions you set in error for that hdb2 are OK
     
  14. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    just a load of .iso images

    ok, thanks
     

Share This Page