LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-03-2009, 11:12 AM   #1
Peacepunk
Member
 
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51

Rep: Reputation: 16
Wink [SOLVED] VirtualBox; USB; Permissions.


[EDIT:SOLVED]

Howdy nixers'n'nixettes.

Some links: Same Failure
http://www.linuxquestions.org/questi...ything-572446/

A possible, over-complicated solution a bit hard to understand (what with the cyrillic code to input?): [EDIT: NO NEED FOR THAT]
http://www.linuxquestions.org/questi...edora-9-652104

OK, now for the real meat:

Slack 12.2, 2.6.27 H-SMP - VBox 2.0.6, 2.1.0, 2.1.2 were all tested.

============================================================================

1) I do have a sane USB subsystem; stuff gets into lsusb, I can use them from Konqueror whatever, one of them is even in my fstab (ext usb drive that stays there all time) My average user has rights OK on them.

2) VirtualBox would play my usb devices fairly if run as root (Not Good).

3) I am a member of vboxusers and plugdev (and, for testing, Haldaemeon, about most anything but root I must say; wheel for sudo anyway).

--So,looks like Permissions issue then--

Doing some extra reading...
4) I do use the PUEL version, not the OSE one.

5) I made the /etc/udev/rules.d/60-vboxdrv.rules file 777, and inside the file switched all to 666 and group wheel (was root):[EDIT: NO NEED FOR THAT]

Quote:
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="wheel", MODE="0666"
SUBSYSTEM=="usb_device", GROUP="wheel", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="wheel", MODE="0666"
6) There is no special line in /etc/fstab; and there is none in Fedora. The both fstab looks quite the same actually.

============================================================================

I did not had to make all that extra effort with Fedora; Looking at groups and perms on my Fed'10 laptop, it looks pretty standard, there is no "special" but the vboxusers of course.


Any help?[EDIT: SEE BELOW]I would appreciate some more light shed on this to make VirtualBox understand I do have right over these USB devices.

Once and for all.


Cheers

Jean-Philippe

Last edited by Peacepunk; 02-12-2009 at 02:15 AM. Reason: [SOLVED]
 
Old 02-03-2009, 12:29 PM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,049

Rep: Reputation: 170Reputation: 170
From this thread:

http://www.linuxquestions.org/questi...ualbox-572305/

Edit /etc/rc.d/rc.S:
Code:
/sbin/mount -v usbfs /proc/bus/usb -t usbfs -o devgid=10,devmode=0664
It certainly worked for me.

cheers,
 
Old 02-03-2009, 02:01 PM   #3
jannekrille
Member
 
Registered: Jul 2005
Location: Dalsland, Sweden
Distribution: Slackware 13.0 and 13.1
Posts: 75

Rep: Reputation: 22
Quote:
Originally Posted by mrclisdue View Post
From this thread:

http://www.linuxquestions.org/questi...ualbox-572305/

Edit /etc/rc.d/rc.S:
Code:
/sbin/mount -v usbfs /proc/bus/usb -t usbfs -o devgid=10,devmode=0664
It certainly worked for me.

cheers,
For me too. Don't forget to add yourself in the group "wheel".

Jan-C
 
Old 02-03-2009, 08:42 PM   #4
Peacepunk
Member
 
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51

Original Poster
Rep: Reputation: 16
Cool Solved

Kool

Threadstarter updated,

ThanksButtons clicketted.

Jean-Philippe

Last edited by Peacepunk; 02-03-2009 at 08:47 PM.
 
  


Reply

Tags
permissions, slackware, usb, virtualbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot use any USB devices in VirtualBox davidguygc Linux - Hardware 7 06-14-2010 09:36 AM
USB support for virtualbox Brian H Linux - Newbie 10 02-12-2010 03:07 PM
virtualbox usb permissions with fedora 9 pramhus Fedora 6 12-21-2009 05:12 AM
USB Scanner help with VirtualBox linubex Mandriva 2 10-02-2007 11:49 PM
USB: Virtualbox - tried everything! adamruss Linux - Software 1 07-27-2007 09:04 PM


All times are GMT -5. The time now is 09:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration