From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 05 Feb 2005 15:07:35 +0000 Subject: Re: udev not reading permissions Message-Id: <1107616055.5494.92.camel@localhost.localdomain> List-Id: References: <4203F24C.7070403@healeyonline.com> In-Reply-To: <4203F24C.7070403@healeyonline.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, 2005-02-04 at 14:08 -0800, Mark Healey wrote: > I hope I'm not pissing anybody off but I can't find a support list. If > I am, sorry. > > Anyway, it seems that udev is ignoring my 05-marks.permissions. I would > like to use my FC3 box to back up my Kyocera 7135 smartphone. Here is > what I think is the relevant info. What am I doing wrong? > > #] ls -l /etc/udev/rules.d > total 28 > -rw-r--r-- 1 root root 60 Jan 31 21:56 05-marks.rules > -rw-r--r-- 1 root root 146 Sep 29 06:38 10-wacom.rules > -rw-r--r-- 1 root root 4739 Dec 15 07:34 50-udev.rules > > #]cat /etc/udev/rules.d/05-marks.rules > SYSFS{idVendor}="0c88" SYSFS{idProduct}="0021" NAME="pilot" > > #]ls -l /etc/udev/permissions.d > total 16 > -rw-r--r-- 1 root root 20 Feb 1 06:32 05-marks.permissions > -rw-r--r-- 1 root root 3508 Dec 15 07:34 50-udev.permissions > > #]cat /etc/udev/permissions.d/05-marks.permissions > pilot:root:root:666 > > #]ls -l /dev/pi* > crw------- 1 mark root 188, 0 Feb 4 13:52 /dev/pilot Hmm, does the rule work without ',' between the keys? And please use 4 digit octal numbers for the mode. Other than that, I can't see what's going wrong here. How about just adding the permissions to the rule. In newer versions of udev the .permissions files are gone and you need to specify it along with the rules anyway. SYSFS{idVendor}="0c88", SYSFS{idProduct}="0021", NAME="pilot", MODE="0666" Good luck, Kay ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ 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