Re: cd and floppy disk use
-----BEGIN PGP SIGNED MESSAGE-----
Thus spake Chris Metzler:
# No. Instead of "disk", you meant to say group "cdrom." Assign users
# to group "cdrom" so that they can access the cdrom device.
# Group "disk" has write access to all the raw disk devices (/dev/hd* and
# /dev/sd*). Assigning users to group "disk" is both dangerous and a
# security risk.
Sorry. I may need to change my /dev/hdc group then.
ls -l /dev/cdrom
lrwxrwxrwx 1 root root 11 Mar 23 19:23 /dev/cdrom -> /dev/cdrom0
ls -l /dev/cdrom0
lrwxrwxrwx 1 root root 8 Mar 27 20:59 /dev/cdrom0 -> /dev/hdc
ls -l /dev/hdc
brw-rw---- 1 root disk 22, 0 Feb 3 07:28 /dev/hdc
This is where I got 'disk' for the group to put users into. But I see now that
/dev/hd* is group 'disk'. However, only my /dev/pktcdvd0 (udf packet writing to
CDRW) is group 'cdrom'. And group 'cdrom' doewn't mention 'disk' and 'disk'
doesn't mention 'cdrom'. Is this a problem? Do I need to change something?
This is how Debian set it up for me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----