[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: the right way to access CDROM as non-root

On Tue, Jan 01, 2002 at 03:08:55PM +0000, Ricardo B wrote:
> To gain direct acesso to the CD-ROM (for playing music, for example)
> the best way is to change the group to cdrom. /sbin/MAKEDEV just uses
> root:disk as default, as he doesn't know if /dev/hdc is a CD-ROM, a hard
> drive or what. If you look to the /dev/scd* (SCSI CD-ROM devices) you'll
> see that their group is cdrom.

or... you can use DevFS (enabled in the kernel), then it will manage
the ownership and perms of the devices, and will know which device is
a cdrom and assign it the cdrom group.

Reply to: