Results 1 to 10 of 10

Thread: Virtualbox permissions keep reseting?

Hybrid View

  1. #1

    Unhappy Virtualbox permissions keep reseting?

    Every time I reboot the permissions for the Virtualbox executable go back to NOT being effective root UID. What I mean to say is...in order to run it as a normal user I have to chmod it every time i start up like

    Code:
    chmod 4711 Virtualbox
    I don't guess this is really a big deal...I was just wondering if anyone knew how to fix it?

    doss

  2. #2
    Join Date
    Jun 2008
    Location
    relative
    Posts
    1,172

    Default Re: Virtualbox permissions keep reseting?

    Quote Originally Posted by dossjh View Post
    Every time I reboot the permissions for the Virtualbox executable go back to NOT being effective root UID. What I mean to say is...in order to run it as a normal user I have to chmod it every time i start up like

    Code:
    chmod 4711 Virtualbox
    I don't guess this is really a big deal...I was just wondering if anyone knew how to fix it?

    doss
    Are you created the usergroup vboxusers? Is your user in this group?
    It's described here: VirtualBox Installation - openSUSE.
    Good luck.
    http://mydailyhash.wordpress.com/
    http://yami.googlecode.com/

  3. #3

    Default Re: Virtualbox permissions keep reseting?

    umm. well. it wasnt added to the group, which i didnt check because I didnt think it would work at all.

    Not sure if that fixed it or not...ill keep you posted.

    thanks for the help

    doss

  4. #4

    Default Re: Virtualbox permissions keep reseting?

    ok so...that wasn't "THE" problem...

    any other ideas?

    doss

  5. #5
    Join Date
    Jul 2008
    Location
    ukraine/mk/pervomaysk
    Posts
    528

    Default Re: Virtualbox permissions keep reseting?

    I have some problems with permitions too
    but what file you change permitions?

    /usr/bin/VirtualBox

    or

    /usr/lib/virtualbox/VirtualBox


    mine permissions is looking
    Code:
    ~> sudo ls -l /usr/lib/virtualbox/VirtualBox
    -rwsr-x--- 1 root vboxusers 22274 Дек 10 15:48 /usr/lib/virtualbox/VirtualBox
    
    > sudo ls -l /usr/bin/VirtualBox
    -rwxr-xr-x 1 root root 89 Дек 10 15:48 /usr/bin/VirtualBox
    intelGMA3100#amd|radeonHD4200+radeonHD5450@catalyst12.4
    WC5020B,PagePro1480MF,LBP2900,hpCP1510,PHOTO1290,Scanmaker3600,PerfectionV200

  6. #6

    Default Re: Virtualbox permissions keep reseting?

    Are you a member of the vboxusers group as suggested to me? What if any error messages are you getting?

    It looks like its not group executable (if i remember how to read the permissions...which i wouldn't bet on)
    try this:

    Code:
    chmod 4711 /usr/lib/virtualbox/VirtualBox
    doss

  7. #7
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Virtualbox permissions keep reseting?

    Mine are:

    $ ls -lL /usr/bin/VirtualBox /usr/lib/virtualbox/VirtualBox
    -rwxr-xr-x 1 root root 2384 2008-11-22 09:06 /usr/bin/VirtualBox
    -r-s--x--x 1 root root 23776 2008-11-22 09:07 /usr/lib/virtualbox/VirtualBox
    The shell script should not be setuid but the binary it calls in /usr/lib/virtualbox/VirtualBox should be setuid root.

  8. #8
    Join Date
    Jul 2008
    Location
    ukraine/mk/pervomaysk
    Posts
    528

    Default Re: Virtualbox permissions keep reseting?

    I did not suggest you anything... I have no idea how this can be fixed...
    but when i run
    >sudo chmod 4711 /usr/lib/virtual/VirtualBox

    as you suggest VirtualBox is starting fine for me

    so i will try restart and look at permissians

    i check one more

    Code:
    ~> sudo ls -l /usr/lib/virtualbox/VirtualBox
    -rws--x--x 1 root vboxusers 22274 Дек 10 15:48 /usr/lib/virtualbox/VirtualBox
    oops it very strange... permissions not changed but VirtualBox is start... very strange now i try to reboot
    intelGMA3100#amd|radeonHD4200+radeonHD5450@catalyst12.4
    WC5020B,PagePro1480MF,LBP2900,hpCP1510,PHOTO1290,Scanmaker3600,PerfectionV200

  9. #9
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Virtualbox permissions keep reseting?

    Also IIRC it was in version 2.0 that the binary became setuid. In version 1.x it was not setuid. If you are running 1.x, then it does not have to be setuid and you are chasing a red herring. If you have problems starting a VM without the setuid, then it's because of other reasons, like not being in group vboxusers or not having permissions on the VM files.

  10. #10
    Join Date
    Jul 2008
    Location
    ukraine/mk/pervomaysk
    Posts
    528

    Default Re: Virtualbox permissions keep reseting?

    I am reboot
    and have VirtualBox runs just fine thank god

    thank you ken_yap for clearing this
    +1 in reputation

    before survey i did not know about exist of such thing here...
    Last edited by didencool; 17-Dec-2008 at 01:52. Reason: misstake
    intelGMA3100#amd|radeonHD4200+radeonHD5450@catalyst12.4
    WC5020B,PagePro1480MF,LBP2900,hpCP1510,PHOTO1290,Scanmaker3600,PerfectionV200

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •