>>> On Sun, 19 May 2002 15:04:50 -0700, A Guy Called Tyketto
>>> <tyketto@xxxxxxxxxx> said:
tyketto> I'll make it short. Has anyone had a problem with a
tyketto> non-root user trying to access /dev/cdrom? [ ... ]
The first line in my '/etc/devsfd.conf' is 'INCLUDE /etc/devfsd.local',
and then I have a file '/etc/devfs.local' in which I put local
configuration, including permissions, such as:
------------------------------------------------------------------------
REGISTER ^ide/host0/bus1/target0/lun0/cd$ COPY $devpath cdrom
UNREGISTER ^ide/host0/bus1/target0/lun0/cd$ EXECUTE rm cdrom
REGISTER ^scsi/host0/bus0/target3/lun0/generic$ COPY $devpath cdr
UNREGISTER ^scsi/host0/bus0/target3/lun0/generic$ EXECUTE rm cdr
REGISTER ^cdrom[0-9]*$ PERMISSIONS root.disk 0444
REGISTER ^cdr[0-9]*$ PERMISSIONS root.root 0660
------------------------------------------------------------------------
|