you do not have enough rights to use this virtual machine

Discussion in 'Installation and Configuration of Parallels Desktop' started by jesaf00, Nov 11, 2008.

  1. jesaf00

    jesaf00 Bit poster

    Messages:
    6
    INstalled and tested with both users on my computer. When I went back to the first user I now get "you do not have enough rights to use this virtual machine" when I try and start my VM. I have the VM in my MACHD/users/shared folder and I have rights to all the containing folders and the VM file its self.
     
  2. jesaf00

    jesaf00 Bit poster

    Messages:
    6
    any ideas? I cannot use parallels on my main user account?
     
  3. jesaf00

    jesaf00 Bit poster

    Messages:
    6
    I am starting to get pretty frusterated. Any ideas why I cant use my VM with any user on my computer. Not to mention that I was able to then after testing with each user I can no longer use it with my main user?
     
  4. darien

    darien Bit poster

    Messages:
    5
    If your VM is installed in /Users/Shared (or similar common location) with the intention of allowing multiple users on your Mac access to it, you'll find that Parallels changes the permission of the VM files to the last user each time it is run. This prevents other users from launching the VM. This seems like a defect or bug of some sort, as this worked fine in Parallels 3.

    I'm surprised more people aren't complaining about this specific issue.
     
  5. jesaf00

    jesaf00 Bit poster

    Messages:
    6
    Thanks for your reply. I am glad someone else has noticed this issue.
     
  6. sandro

    sandro Parallels Developers

    Messages:
    512
    Hi.

    Could you please open Terminal application (it situates at /Applications/Utilities system folder). Go to /Users/Shared folder described above - to do this please perform at Terminal command:

    cd /Users/Shared

    Then please perform follow two commands and post here output of these commands:

    ls -le .
    ls -le vm_folder_name

    (please use instead vm_folder_name correspond VM bundle name).

    PS
    These commands actually show your private file directory tree contents. If you wouldn't like to show this data at public forum then please create ticket at support.parallels.com, specify requested data there and post here it id.
     
  7. rtemp

    rtemp Bit poster

    Messages:
    1
    I have the same problem. I built my Windows XP VM on my local hard disk (using Parallels 4.0). Then, I needed to move it to a directly attached USB drive since the size of the VM became too big for my drive. Now, when I try to open it off my USB drive I get the following error:

    Access Denied
    You do not have enough rights to use this virtual machine

    This needs to be fixed as soon as possible, otherwise the product is worthless to me.

    Thanks
     
  8. sandro

    sandro Parallels Developers

    Messages:
    512
    Sorry, i'm afraid that misunderstood something. Could you please create problem report (Help->Report a Problem) and post here it id.
     
  9. darien

    darien Bit poster

    Messages:
    5
    Here's the relevant information from the affected machine. "Dan" is the administrator and installed Parallels into /Users/Shared. "Sue" is a user, and previously had no issue running Parallels from her own account, even through Fast User Switching.

    Now, whoever runs Parallels becomes the owner of the .pvm and the other user can't access the VM unless root intervenes and re-assigns permissions.

    Computer:Shared dan$ ls -le .
    total 8
    drwxrwxrwx 4 dan staff 136 Nov 11 20:55 Parallels

    Computer:Shared:Shared dan$ ls -le Parallels/
    total 0
    drwxrwxrwx@ 13 sue staff 442 Nov 11 21:01 Windows Vista.pvm
     
  10. sandro

    sandro Parallels Developers

    Messages:
    512
    Could you please also show permissions to files at VM folder:

    ls -le "Windows Vista.pvm"
    ls -le "Windows Vista.pvm/*"
     
  11. darien

    darien Bit poster

    Messages:
    5
    Here you go. Remember, in an effort to make this work, I did perform some "root magic" and try to loosen permissions. But to no avail. So these results may be a bit more relaxed than the standard install.

    Computer:parallels dan$ ls -le Windows\ Vista.pvm
    total 1335936
    -rwxrw-rw- 1 sue staff 121 Nov 11 09:49 Snapshots.xml
    drwxrwxrwx 51 sue staff 1734 Sep 10 20:30 Windows Applications
    drwxrwxrwx 3 sue staff 102 Nov 11 21:00 Windows Disks
    -rwxrw-rw- 1 sue staff 9850 Nov 11 21:01 config.pvs
    -rwxrw-rw- 1 sue staff 9850 Nov 11 21:01 config.pvs.backup
    -rw-rw-rw- 1 sue staff 11386171 Nov 11 21:01 config.sav
    -rwxrw-rw- 1 sue staff 147065 Nov 11 21:01 parallels.log
    -rw-r--r-- 1 sue staff 1345376 Nov 11 21:01 suspended.png
    drwxrwxrwx@ 6 sue staff 204 Nov 11 21:01 winvista.hdd
    -rw-rw-rw- 1 sue staff 671088640 Nov 11 20:45 {xxxxx}.mem

    Computer:parallels dan$ ls -le Windows\ Vista.pvm/*
    -rwxrw-rw- 1 sue staff 121 Nov 11 09:49 Windows Vista.pvm/Snapshots.xml
    -rwxrw-rw- 1 sue staff 9850 Nov 11 21:01 Windows Vista.pvm/config.pvs
    -rwxrw-rw- 1 sue staff 9850 Nov 11 21:01 Windows Vista.pvm/config.pvs.backup
    -rw-rw-rw- 1 sue staff 11386171 Nov 11 21:01 Windows Vista.pvm/config.sav
    -rwxrw-rw- 1 sue staff 147065 Nov 11 21:01 Windows Vista.pvm/parallels.log
    -rw-r--r-- 1 sue staff 1345376 Nov 11 21:01 Windows Vista.pvm/suspended.png
    -rw-rw-rw- 1 sue staff 671088640 Nov 11 20:45 Windows Vista.pvm/{xxxxx}.mem

    Windows Vista.pvm/Windows Applications:
    total 0
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Event Viewer Snapin Launcher.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Executable for Chess Game.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Executable for FreeCell Game.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Executable for Hearts Game.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Executable for Mahjong Titans Game.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Executable for Minesweeper Game.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Executable for Purble Place Game.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Executable for Solitaire Game.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Executable for Spider Solitaire Game.app
    drwxrwxrwx 3 sue staff 102 Nov 11 10:45 Internet Explorer.app
    drwxrwxrwx 3 sue staff 102 Nov 11 11:14 Java(TM) 2 Platform Standard Edition binary.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Media Center.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Microsoft (R) Console Based Script Host.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Microsoft (R) HTML Application host.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Microsoft (R) Windows Based Script Host.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Microsoft Management Console.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Microsoft Support Diagnostic Tool.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Microsoft(C) Register Server.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Microsoft® HTML Help Executable.app
    drwxrwxrwx 3 sue staff 102 Sep 10 20:30 Microsoft® Help and Support.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Microsoft® Windows Backup.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:24 NTVDM.EXE.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Notepad.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Paint.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Parallels Tools.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Remote Access Phonebook.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Support exe for Internet Printing.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 System Information.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Calendar.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Command Processor.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Contacts.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Control Panel.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows DVD Maker.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Easy Transfer.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Explorer.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Font Viewer.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Journal.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Mail.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Media Player.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Meeting Space.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Movie Maker.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Parental Control Notifications.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Presentation Foundation Host.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Remote Assistance.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Sidebar.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:49 Windows Task Manager.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Update Standalone Installer.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Winhlp32 Stub.app
    drwxrwxrwx 3 sue staff 102 Sep 10 19:11 Windows Wordpad Application.app

    Windows Vista.pvm/Windows Disks:
    total 8
    lrwxr-xr-x 1 sue staff 19 Nov 11 21:00 C -> /private/tmp/2090/C

    Windows Vista.pvm/winvista.hdd:
    total 24162664
    -rwxrwxrwx 1 sue staff 1117 Nov 11 21:01 DiskDescriptor.xml
    -rwxrw-rw- 1 sue staff 1117 Nov 11 21:01 DiskDescriptor.xml.Temp
    -rwxrw-rw- 1 sue staff 0 Nov 11 09:49 winvista.hdd
    -rwxrwxrwx 1 sue staff 12371273216 Nov 11 21:01 winvista.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds
    Computer:parallels dan$




    On a more "typical" install for a single user:

    the top level contents of the pvm look like this:
    [System2:/Volumes/Disk/Parallels_disks] george% ls -le Windows\ Vista.pvm/*
    -rwxr--r-- 1 george george 121 Nov 11 14:33 Windows Vista.pvm/Snapshots.xml
    -rwxr--r-- 1 george george 10531 Nov 11 15:49 Windows Vista.pvm/config.pvs
    -rwxr--r-- 1 george george 10531 Nov 11 15:49 Windows Vista.pvm/config.pvs.backup
    -rw-rw-rw- 1 george george 11415650 Nov 11 15:49 Windows Vista.pvm/config.sav
    -rw-rw-rw- 1 george george 99868 Nov 11 15:49 Windows Vista.pvm/parallels.log
    -rw-r--r-- 1 george george 1020021 Nov 11 15:49 Windows Vista.pvm/suspended.png
    -rwxr--r-- 1 george george 1474560 Jun 21 04:33 Windows Vista.pvm/unattended.fdd
    -rw-rw-rw- 1 george george 1207959552 Nov 11 15:40 Windows Vista.pvm/{xxxxx}.mem

    the contents of Applications generally have these perms:
    drwxr-xr-x

    the contents of .hdd have these perms:
    -rwxr--r--
     
  12. sandro

    sandro Parallels Developers

    Messages:
    512
    Problem here that owners of these VMs aren't "dan" and as you can see on some files absent either execute permission or write. These permissions actually require for proper VM usage (working with VM's hard disks and etc.). You can resolve issue by performing one of follow commands from terminal on your choice:

    sudo chown -R dan "Windows Vista.pvm"

    (after this you'll became owner of VM and can work with it personally) or:

    sudo chmod -R og+rwx "Windows Vista.pvm"

    (after this all users on your host will can working with VM after it registration at user's VM directory).
     
  13. utopia

    utopia Junior Member

    Messages:
    11
    I have the same problem. I use autocad and am having problems xrefing. Basically I'm attaching a file to a drawing and I get

    "You do not have access rights to \\.PSF\.Home\Desktop\True Form, Inc\Projects\08012 70 Turner Avenue\Draw\CD's\Parts\08012 70 Turner Ave Enlarged Plan.dwg.
    See your administrator for access to this folder.

    Anyone please help.
    I'm not overly tech savvy.
    It worked in version 3.
    I would be happy to let anyone who knows what they are doing use teamview on my computer.
    Thank you in advance.
    Kind regards,
    Andrew
     
  14. darien

    darien Bit poster

    Messages:
    5
    Follow up: The instructions posted above have worked to fix the issue.
     
  15. utopia

    utopia Junior Member

    Messages:
    11
    Thanks Darien, which post #? Sorry if I sound needy. Thanks again.

    Andrew
     
  16. darien

    darien Bit poster

    Messages:
    5
    #12 above, in summary:

    Problem here that owners of these VMs aren't "dan" and as you can see on some files absent either execute permission or write. These permissions actually require for proper VM usage (working with VM's hard disks and etc.). You can resolve issue by performing one of follow commands from terminal on your choice:

    sudo chown -R [username] "[MachineName].pvm"

    (after this you'll became owner of VM and can work with it personally) or:

    sudo chmod -R og+rwx "[MachineName].pvm"

    (after this all users on your host will can working with VM after it registration at user's VM directory).
     
  17. mhamon

    mhamon Bit poster

    Messages:
    5
    I'm having the same problem. Worked fine in version 3, broke in version 4. It worked for me to just set up a VM for each user so I can get around it but it is definately a bug that needs to be fixed.
     
  18. sandro

    sandro Parallels Developers

    Messages:
    512
    Sorry mhamon.

    Could you specify problem - here already several present so...
     
  19. mhamon

    mhamon Bit poster

    Messages:
    5
    It's the same problem as the original poster to this topic. I was gettng the message "you do not have enough rights to use this virtual machine" when trying to access a shared VM from different Mac user accounts. I'm not using a shared VM anymore because of this problem and it was not too hard for me to reconfigure how I was working with the VMs.

    I just posted so people would know others are having the same problem. Thanks for the follow up.
     
  20. sandro

    sandro Parallels Developers

    Messages:
    512
    If you want properly using VM under different user accounts please read follow article:

    http://kb.parallels.com/en/5733

    Mac OS X as all another today OSes (Windows, Linux) has users access control mechanisms based firstly on files permissions. We have to check these permissions during our application work in order to prevent non authorized access to VM files by user that not owner of them and do not have enough permissions.
     

Share This Page