From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schweizer Date: Fri, 17 Dec 2004 14:36:18 +0000 Subject: Re: Bug#286040: please allow permissions.d to follow symlinks Message-Id: List-Id: References: <20041217083115.GA4050@wonderland.linux.it> In-Reply-To: <20041217083115.GA4050@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Just look in /etc/udev/permissions.d/50-udev.permissions # 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 cdroms/*:root:cdrom:0660 for example all of these point to symlinks and do nothing currently, so we should a) make them do something b) remove them There are sure more of them, but this is the most common example. pam hided these problems, because it changes the permissions when a user logs in. I made a patch to solve this with a GROUP="" statement, whcih is now used in gentoos udev. But I think its ugly design, because permissions should be kept in permissions.d and not in rules.d, and you can even have more advanced rules then, making the group cdrw based on if a symlink to that exists. Stefan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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