Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Virtualbox permissions keep reseting?

  1. #1
    dossjh NNTP User

    Default 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


    --
    dossjh
    ------------------------------------------------------------------------
    dossjh's Profile: http://forums.opensuse.org/member.php?userid=646
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  2. #2
    ram88 NNTP User

    Default Re: Virtualbox permissions keep reseting?


    dossjh;1907665 Wrote:
    > 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'
    (http://en.opensuse.org/VirtualBox_Installation).


    --
    http://yami.googlecode.com/
    http://akoskm.blogspot.com/
    ------------------------------------------------------------------------
    ram88's Profile: http://forums.opensuse.org/member.php?userid=1058
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  3. #3
    dossjh NNTP User

    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


    --
    dossjh
    ------------------------------------------------------------------------
    dossjh's Profile: http://forums.opensuse.org/member.php?userid=646
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  4. #4
    ram88 NNTP User

    Default Re: Virtualbox permissions keep reseting?


    dossjh;1907695 Wrote:
    > 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


    LOL that fixed it!


    --
    http://yami.googlecode.com/
    http://akoskm.blogspot.com/
    ------------------------------------------------------------------------
    ram88's Profile: http://forums.opensuse.org/member.php?userid=1058
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  5. #5
    dossjh NNTP User

    Default Re: Virtualbox permissions keep reseting?


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

    any other ideas?

    doss


    --
    dossjh
    ------------------------------------------------------------------------
    dossjh's Profile: http://forums.opensuse.org/member.php?userid=646
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  6. #6
    didencool NNTP User

    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

    --------------------


    --
    Linux 2.6.25.16-0.1-pae openSUSE 11 i386
    #1KM400|Athlon|RAM2GB|FX5200
    #2 nforce2|Athlon|Radeon9200|RAM1GB
    #3 laptop ASUS x51r|Xpress1100|512MB
    ------------------------------------------------------------------------
    didencool's Profile: http://forums.opensuse.org/member.php?userid=4743
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  7. #7
    dossjh NNTP User

    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


    --
    dossjh
    ------------------------------------------------------------------------
    dossjh's Profile: http://forums.opensuse.org/member.php?userid=646
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  8. #8
    ken yap NNTP User

    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.


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  9. #9
    didencool NNTP User

    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


    --
    Linux 2.6.25.16-0.1-pae openSUSE 11 i386
    #1KM400|Athlon|RAM2GB|FX5200
    #2 nforce2|Athlon|Radeon9200|RAM1GB
    #3 laptop ASUS x51r|Xpress1100|512MB
    ------------------------------------------------------------------------
    didencool's Profile: http://forums.opensuse.org/member.php?userid=4743
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


  10. #10
    ken yap NNTP User

    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.


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=401644


Page 1 of 2 12 LastLast

Posting Permissions

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