From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schweizer Date: Wed, 10 Nov 2004 22:02:32 +0000 Subject: udev and cdrom permissions Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, with udev we have the general problem that it sets the group disk for every hd* device. With this normal users cant write or read cdroms without being in the disk group which is a security problem. We really need to assign the cdrom group to cdrom-devices. I have 2 solutions to propose: 1) We make udev follow symlinks while setting permissions. So if udev assigns permissions to /dev/cdroms/cdrom0 it should set the permission for the source of the symlink. 2) We make hd* the symlink. This way /dev/cdroms/cdrom* and /dev/discs/disc* would be the real device nodes and therefore have the right permissions. Do you have other possible solutions, and what solution doyou think is best? Thanks Stefan Schweizer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel