summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/devfsd/files/devfsd.conf')
-rw-r--r--sys-fs/devfsd/files/devfsd.conf26
1 files changed, 19 insertions, 7 deletions
diff --git a/sys-fs/devfsd/files/devfsd.conf b/sys-fs/devfsd/files/devfsd.conf
index 1431d7eda350..5aa9c2c146a7 100644
--- a/sys-fs/devfsd/files/devfsd.conf
+++ b/sys-fs/devfsd/files/devfsd.conf
@@ -4,7 +4,7 @@
# The Gentoo Linux Team - http://www.gentoo.org/
# - Many fixes, etc
#
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/devfsd/files/devfsd.conf,v 1.3 2004/10/16 17:09:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/devfsd/files/devfsd.conf,v 1.4 2005/02/06 23:24:03 vapier Exp $
# Enable full compatibility mode for old device names. You may comment these
# out if you don't use the old device names. Make sure you know what you're
@@ -56,9 +56,6 @@ RESTORE /lib/dev-state
# You can force default like this :
# PERMISSIONS owner_and_group access_mode
-# Video4Linux devices
-REGISTER v4l/.* PERMISSIONS root.video 660
-
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
@@ -75,9 +72,24 @@ REGISTER snd/.* PERMISSIONS root.audio 660
# Autoload the sg module if generic scsi driver compiled as module.
#LOOKUP ^sg$ MODLOAD ACTION sg
-# Give the cdrw group write permissions to /dev/sg0
-# This is done to have non root user use the burner (scan the scsi bus)
-#REGISTER ^scsi/host.*/bus.*/target.*/lun.*/generic PERMISSIONS root.cdrw 660
+# Give the cdrom group access to /dev/sg0
+REGISTER ^scsi/host.*/bus.*/target.*/lun.*/generic PERMISSIONS root.cdrom 660
+
+# Give the cdrom group access to the cdrom devices
+REGISTER ^scsi/host.*/bus.*/target.*/lun.*/cd PERMISSIONS root.cdrom 660
+REGISTER ^ide/host.*/bus.*/target.*/lun.*/cd PERMISSIONS root.cdrom 660
+
+# Give the floppy group access to the floppy devices
+REGISTER ^floppy/.* PERMISSIONS root.floppy 660
+
+# Give the usb group access to the usb devices
+REGISTER ^usb/.* PERMISSIONS root.usb 660
+REGISTER ^tts/USB.* PERMISSIONS root.usb 660
+
+# Video devices
+REGISTER ^v4l/.* PERMISSIONS root.video 660
+REGISTER ^dri/.* PERMISSIONS root.video 660
+REGISTER ^nvidia.* PERMISSIONS root.video 660
# General note for the following auto creation of symlinks:
#