Tätä kohtaa en ihan ymmärtänyt, että mihin kohtaan nämä tiedo pitää syöttää.
Alle laitan sen mitä minä nyt siihen tiedostoon tein. Muutokset siellä punaisella.
Onkohan ne nyt ihan oikein?
OHJEESSA SEURAAVAA.
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"
To :
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usbusers", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"
In Hardy Heron, I had to add the lines at the end of the file (under To: above) as this file is different in Hardy Heron, that is you won't see the 'from' lines above like you will in Gutsy.
The Grande Finale,
add this line:
none /proc/bus/usb usbfs devgid=120,devmode=664 0 0
to your /etc/fstab file (at the bottom). Just make sure that 120 is your vboxusers group (use your own number).
Nyt tiedosto /etc/udev/rules.d/40-permissions.rules näytää tältä
# This file establishes permissions and ownership of devices according
# to Ubuntu policy. See udev(7) for syntax.
#
# The names of the devices must not be set here, but in 20-names.rules;
# user-friendly symlinks (which need no permissions or ownership) should
# be set in 60-symlinks.rules.
# Block devices
SUBSYSTEM!="block", GOTO="block_end"
ATTRS{removable}!="1", GROUP="disk"
ATTRS{removable}=="1", GROUP="floppy"
SUBSYSTEMS=="usb", GROUP="plugdev"
SUBSYSTEMS=="ieee1394", GROUP="plugdev"
SUBSYSTEMS=="mmc", GROUP="plugdev"
SUBSYSTEMS=="pcmcia", GROUP="plugdev"
LABEL="block_end"
# IDE devices
ENV{ID_CDROM}=="?*", GROUP="cdrom"
KERNEL=="ht[0-9]*", GROUP="tape"
KERNEL=="nht[0-9]*", GROUP="tape"
# IEEE1394 (firewire) devices
# Please note that raw1394 gives unrestricted, raw access to every single
# device on the bus and those devices may do anything as root on your system.
# Yes, I know it also happens to be the only way to rewind your video camera,
# but it's not going to be group "video", okay?
KERNEL=="raw1394", GROUP="disk"
KERNEL=="dv1394*", GROUP="video"
KERNEL=="video1394*", GROUP="video"
# Packet CD devices, group under /dev/pktcdvd
KERNEL=="pktcdvd", MODE="0644"
KERNEL=="pktcdvd[0-9]*", GROUP="cdrom"
# Printers and Parallel devices
SUBSYSTEM=="printer", GROUP="lp"
SUBSYSTEM=="ppdev", GROUP="lp"
SUBSYSTEM=="usb", KERNEL=="lp[0-9]*", GROUP="lp"
KERNEL=="pt[0-9]*", GROUP="tape"
KERNEL=="pht[0-9]*", GROUP="tape"
# SCSI devices
SUBSYSTEMS=="scsi", GOTO="scsi_start"
GOTO="scsi_end"
LABEL="scsi_start"
ATTRS{type}=="0", GROUP="disk"
ATTRS{type}=="1", GROUP="tape"
ATTRS{type}=="4", GROUP="cdrom"
ATTRS{type}=="5", GROUP="cdrom"
ATTRS{type}=="6", GROUP="scanner"
ATTRS{type}=="8", GROUP="tape"
ATTRS{type}=="3", ATTRS{vendor}=="HP", GROUP="scanner"
ATTRS{type}=="3", ATTRS{vendor}=="Epson", GROUP="scanner"
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", GROUP="scanner"
LABEL="scsi_end"
# Serial devices
SUBSYSTEM=="tty", GROUP="dialout"
SUBSYSTEM=="capi", GROUP="dialout"
SUBSYSTEM=="slamr", GROUP="dialout"
SUBSYSTEM=="zaptel", GROUP="dialout"
KERNEL=="ttyLTM[0-9]*", GROUP="dialout", MODE="0660"
# USB serial converters
SUBSYSTEM=="usb_device", GOTO="usb_serial_start"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="usb_serial_start"
GOTO="usb_serial_end"
LABEL="usb_serial_start"
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", \
MODE="0660", GROUP="dialout"
LABEL="usb_serial_end"
[font=Verdana]# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usbusers", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"
none /proc/bus/usb usbfs devgid=125,devmode=664 0 0[/font]
# Sound devices
SUBSYSTEM=="sound", GROUP="audio"
# pty devices
SUBSYSTEM=="tty", KERNEL=="pty*", GROUP="tty", MODE="0666"
# Video devices
SUBSYSTEM=="drm", GROUP="video"
SUBSYSTEM=="dvb", GROUP="video"
SUBSYSTEM=="graphics", GROUP="video"
SUBSYSTEM=="video4linux", GROUP="video"
KERNEL=="agpgart", GROUP="video"
KERNEL=="nvidia*", GROUP="video"
# Other devices, by name
KERNEL=="mem", GROUP="kmem", MODE="0640"
KERNEL=="kmem", GROUP="kmem", MODE="0640"
KERNEL=="port", GROUP="kmem", MODE="0640"
KERNEL=="nvram", GROUP="nvram"
KERNEL=="rtc", GROUP="audio"
KERNEL=="js[0-9]*", GROUP="plugdev"
[ylläpito on poistanut liitteen]