From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Segaud Date: Sun, 11 Jan 2004 12:06:51 +0000 Subject: [Bug] udev creates nodes in the wrong place. Message-Id: <87fzemu1t0.fsf@minas-morgul.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org With the recent sysfs input device class patch, mouse nodes device numbers are now exported in sysfs. So udev creates mouse nodes in /udev. My udev.rules contains this line: REPLACE, KERNEL="mouse*", NAME="input/%k" But, mouse0 and mouse1 only are in /udev/input whereas mouse2 and mouse4 (?) are created directly under /udev. Another bug in udev.permissions: input/*:root:root:660 gives 660 access rights to the directory, too, which I guess is not what we want; I as a normal user can't walk into it and it can be relevant for snd/* devices which I, as audio group member, should be allowed to access. snd/*:root:audio:660 prevents me to access them There is a workaround obviously, but the wildcard rule does not work as it should, I guess. Tell me if I'm wrong. Have a nice day, -- Mathieu Segaud > Is there anything else I can contribute? The latitude and longtitude of the bios writers current position, and a ballistic missile. Please boot 2.2.18pre24 (not pre25) on the machine and send me its DMI strings printed at boot time. I'll add it to the 'stupid morons who cant program and wouldnt know QA if it hit them on the head with a mallet' list - Alan Cox on BIOS bugs ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ 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