From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 05 Feb 2005 14:29:35 +0000 Subject: Re: [PATCH, UDEV] fix permission inconsistency in relation to Message-Id: <1107613775.5494.74.camel@localhost.localdomain> List-Id: References: <200502051426.14173.mbuesch@freenet.de> In-Reply-To: <200502051426.14173.mbuesch@freenet.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, 2005-02-05 at 14:26 +0100, Michael Buesch wrote: > This fixes a rules.d permission apply inconsistency. > Here's an example of what happens without the patch: > First case without the patch: > > KERNEL="hd*", GROUP="disk", MODE="0660" > KERNEL="hdc", SYMLINK="cdrecorder", MODE="0666" > brw-rw---- 1 root disk 22, 0 Feb 5 14:08 /dev/hdc > Second case without the patch: > > KERNEL="hd*", GROUP="disk", MODE="0660" > KERNEL="hdc", MODE="0666" > brw-rw-rw- 1 root disk 22, 0 Feb 5 14:08 /dev/hdc Both cases are correct behavior in the current model, where symlink-only rules can not set the permissions of a node. It was the same with the "old" .permissions files. Should we change that now, so that permissions are applied from a symlink-only rule too? 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