From: Kay Sievers Date: Thu, 01 Feb 2007 16:02:02 +0000 Subject: Re: problem using udev with fedora core 5 Message-Id: <1170345722.3893.28.camel@pim.off.vrfy.org> List-Id: References: <45C1F83F.3030701@davidecorrado.eu> In-Reply-To: <45C1F83F.3030701@davidecorrado.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org [resend; this sourceforge mailinglist software is so braindead ...] > Hello, > i have a permission problem using udev with fedora core 5 (latest > patches applied): > i read all the doc avaible and i created a new rule file called > 10-konrad.rules. this file contains just this line: > > KERNEL="ttyACM*", SYSFS{product}="Motorola Phone*", SYMLINK="V3", > GROUP="uucp", MODE="0666" > > i need this for using my v3 phone with kmobiletools. > > well, the link V3 is created, but the permissions are the default ones > (0660), not the ones included in the line. > > i switched the log verbosity to info and i can see in the logs: > Feb 1 14:49:36 prodigal-son udevd-event[9856]: udev_rules_get_name: > reset symlink list > Feb 1 14:49:36 prodigal-son udevd-event[9856]: udev_rules_get_name: > add symlink 'V3' > Feb 1 14:49:36 prodigal-son udevd-event[9856]: udev_rules_get_name: > rule applied, 'ttyACM0' becomes 'ttyACM0' > Feb 1 14:49:36 prodigal-son udevd-event[9856]: create_node: creating > device node '/dev/ttyACM0', major = '166', minor = '0 > ', mode = '0660', uid = '0', gid = '14' > Feb 1 14:49:36 prodigal-son udevd-event[9856]: create_node: creating > symlink '/dev/V3' to 'ttyACM0' > > so it seems to me that even reading my custom.rules files before the > default one, it applies the default permission mask instead of the one > i need "rw for everyone". Try: MODE:="0666" so, no rule can overwrite the value. I hope the udev version isn't too old for this, better check the man page. Kay ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ 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