From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 21 Dec 2004 17:36:04 +0000 Subject: Re: feature request (if possible): symlink name in environment Message-Id: <1103650564.5845.38.camel@localhost.localdomain> List-Id: References: <20041221150258.GB14897@cirrus.madduck.net> In-Reply-To: <20041221150258.GB14897@cirrus.madduck.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, 2004-12-21 at 17:08 +0100, martin f krafft wrote: > also sprach Greg KH [2004.12.21.1704 +0100]: > > No, the hook should run after. > > This is what I gathered from the code as well. However, it does not > appear to work. > > Would you consider trying it out? Maybe I am just on crack... > > Drop it into /etc/dev.d/default/permissions.dev with 755 > permissions. > > Create a file in permissions.d, the way it used to be. > > See if the permissions are applied (symlinks should be followed, and > the last symlink shown by > > udevinfo -r -q symlink -p $DEVPATH > > has the highest priority. Any other scripts running after that, which change may it back? And name=${node#/dev/} perms=$(grep -h "^$name" $udev_permissions/*.permissions | tail -1) will not return the "name*:..." line for a device named "name0" what it should, right? 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