From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 17 Dec 2004 13:24:04 +0000 Subject: Re: Bug#286040: please allow permissions.d to follow symlinks Message-Id: <1103289844.14134.194.camel@localhost.localdomain> 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 On Fri, 2004-12-17 at 09:31 +0100, Marco d'Itri wrote: > ----- Forwarded message from martin f krafft ----- > > A rule like > > BUS="scsi", SYSFS\{model\}="FLASH", KERNEL="sd?1", NAME="%k", SYMLINK="flash" > > works, but a corresponding entry like > > flash:root:flash:0660 > > in a permissions.d file does not -- it tries to change the > permissions of the symlink instead. Permissions on a symlink are > irrelevant, so I suggest that udev instead follows the symlink > before applying permissions. Why you guys always want to make things more complicated as needed? Just specify the permissions in the rule itself like ide-devfs.sh is doing it or use the name you want to use in the NAME key and not in a SYMLINK and everything will work as expected. Kay ------------------------------------------------------- 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