diff options
Diffstat (limited to 'sys-fs/udev/files/udev.permissions')
-rw-r--r-- | sys-fs/udev/files/udev.permissions | 121 |
1 files changed, 88 insertions, 33 deletions
diff --git a/sys-fs/udev/files/udev.permissions b/sys-fs/udev/files/udev.permissions index 2a80ff53c5fe..7cb42223fb32 100644 --- a/sys-fs/udev/files/udev.permissions +++ b/sys-fs/udev/files/udev.permissions @@ -1,9 +1,21 @@ # /etc/udev/udev.permissions: permission/ownership map for udev +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/files/udev.permissions,v 1.2 2003/12/26 23:32:44 azarah Exp $ -# <console> -console:root:root:0600 -tty[0-9][0-9]*:root:root:0600 -# <serial+dialup> +# console devices +console:root:tty:0600 +tty[0-9][0-9]*:root:tty:0660 +vc/[0-9]*:root:tty:0660 + +# pty devices +# Set this to 0660 if you only want users belonging to tty group +# to be able to allocate PTYs +ptmx:root:tty:0666 +pty[p-za-e][0-9a-f]*:root:tty:0660 +tty[p-za-e][0-9a-f]*:root:tty:0660 +pty/m*:root:tty:0660 +vc/s*:root:tty:0660 + +# serial+dialup devices ttyS*:root:tty:0660 ippp*:root:tty:0660 isdn*:root:tty:0660 @@ -11,9 +23,21 @@ isdnctrl*:root:tty:0660 capi*:root:tty:0660 dcbri*:root:tty:0660 ircomm*:root:tty:0660 -# <floppy> +ttyUSB*:root:usb:0660 +tts/[0-9]*:root:tty:0660 +tts/USB[0-9]*:root:usb:0660 + +# vc devices +vcs:root:root:0600 +vcs[0-9]*:root:root:0600 +vcsa:root:root:0600 +vcsa[0-9]*:root:root:0600 +vcc/*:root:root:0600 + +# floppy devices fd[01]*:root:floppy:0660 -# <sound> + +# audio devices dsp*:root:audio:0660 audio*:root:audio:0660 midi*:root:audio:0660 @@ -29,70 +53,94 @@ amidi*:root:audio:0660 dmfm*:root:audio:0660 dmmidi*:root:audio:0660 sndstat:root:audio:0660 -# <cdrom> + +# optical devices sr*:root:cdrom:660 scd*:root:cdrom:660 pcd*:root:cdrom:0660 cdrom*:root:cdrom:0660 dvd:root:cdrom:0660 rdvd:root:cdrom:0660 -# <pilot> +cdroms/*:root:cdrom:0660 + +# pilot/palm devices pilot:root:uucp:0660 -# <jaz> + +# jaz devices jaz*:root:disk:0660 -# <zip> + +# zip devices pocketzip*:root:disk:0660 zip*:root:disk:0660 -# <ls120> + +# ls120 devices ls120:root:disk:0660 ls120*:root:disk:0660 -# <lp> + +# lp devices lp*:root:lp:0660 parport*:root:lp:0660 irlpt*:root:lp:0660 usblp*:root:lp:0660 usb/lp*:root:lp:0660 -# <scanner> + +# scanner devices scanner:root:root:0600 usb/scanner*:root:root:0600 -# <camera> + +# camera devices camera*:root:root:0600 usb/dc2xx*:root:root:0600 usb/mdc800*:root:root:0600 -# <raw> + +# raw devices ram*:root:disk:660 raw/*:root:disk:660 -# <disk> + +# disk devices hd*:root:disk:660 sd*:root:disk:660 dasd*:root:disk:660 ataraid*:root:disk:660 loop*:root:disk:660 md*:root:disk:660 -# <tape> +ide/*/*/*/*/*:root:disk:660 +discs/*/*:root:disk:660 +loop/*:root:disk:660 +md/*:root:disk:660 + +# tape devices ht*:root:tape:0660 nht*:root:tape:0660 -pt*:root:tape:0660 +pt[0-9]*:root:tape:0660 npt*:root:tape:0660 st*:root:tape:0660 nst*:root:tape:0660 -# <memstick> + +# memstick devices memstick*:root:root:0600 -# <flash> + +# flash devices flash*:root:root:0600 -# <diskonkey> + +# diskonkey devices diskonkey*:root:disk:0660 -# <rem_ide> + +# rem_ide devices microdrive*:root:disk:0660 -# <fb> + +# fb devices fb:root:root:0600 fb[0-9]*:root:root:0600 fb/*:root:root:0600 -# <kbd> + +# kbd devices kbd:root:root:0600 -# <joystick> + +# joystick devices js[0-9]*:root:root:0600 -# <v4l> + +# v4l devices video*:root:video:0660 radio*:root:video:0660 winradio*:root:video:0660 @@ -100,22 +148,29 @@ vtx*:root:video:0660 vbi*:root:video:0660 video/*:root:video:0660 vttuner:root:video:0660 -# <input> +v4l/*:root:video:0660 + +# input devices input/*:root:root:644 -# <gpm> + +# gpm devices gpmctl:root:root:0700 -# <dri> + +# dri devices nvidia*:root:video:0660 3dfx*:root:video:0660 -# <mainboard> +dri/*:root:video:0660 + +# mainboard devices apm_bios:root:root:0600 -# <scsi> + +# scsi devices sg*:root:disk:0660 pg*:root:disk:0660 cdwriter:root:disk:0660 -# <usb> + +# usb devices usb/dabusb*:root:usb:0660 usb/mdc800*:root:usb:0660 usb/rio500:root:usb:0660 -ttyUSB*:root:usb:0660 |