diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-02-06 23:24:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-02-06 23:24:03 +0000 |
commit | f626c46522ce24bf1154173d2c83c6883e466c50 (patch) | |
tree | 579c03f470538c9e8f5f474aedf09a1a455d407b /sys-fs/devfsd/files | |
parent | Marked stable on mips. (diff) | |
download | historical-f626c46522ce24bf1154173d2c83c6883e466c50.tar.gz historical-f626c46522ce24bf1154173d2c83c6883e466c50.tar.bz2 historical-f626c46522ce24bf1154173d2c83c6883e466c50.zip |
touchup permissions #80360
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-fs/devfsd/files')
-rw-r--r-- | sys-fs/devfsd/files/devfsd | 13 | ||||
-rw-r--r-- | sys-fs/devfsd/files/devfsd.conf | 26 |
2 files changed, 19 insertions, 20 deletions
diff --git a/sys-fs/devfsd/files/devfsd b/sys-fs/devfsd/files/devfsd deleted file mode 100644 index b01a3b879d43..000000000000 --- a/sys-fs/devfsd/files/devfsd +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -#RCUPDATE:boot:04:This line is required for script management - - -. /etc/rc.d/config/basic -. /etc/rc.d/config/functions - -# Test if we use devfs and start devfsd -mount --bind /dev /dev-state -mount -t devfs none /dev -/sbin/devfsd /dev - - 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: # |