From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Buesch Date: Sat, 05 Feb 2005 14:54:35 +0000 Subject: Re: [PATCH, UDEV] fix permission inconsistency in relation to symlinks. Message-Id: <200502051554.41114.mbuesch@freenet.de> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart13033900.A9Gn3N5UI5" List-Id: References: <200502051426.14173.mbuesch@freenet.de> In-Reply-To: <200502051426.14173.mbuesch@freenet.de> To: linux-hotplug@vger.kernel.org --nextPart13033900.A9Gn3N5UI5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoting Kay Sievers : > 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: >=20 > > First case without the patch: > >=20 > > KERNEL=3D"hd*", GROUP=3D"disk", MODE=3D"0660" > > KERNEL=3D"hdc", SYMLINK=3D"cdrecorder", MODE=3D"0666" > > brw-rw---- 1 root disk 22, 0 Feb 5 14:08 /dev/hdc >=20 > > Second case without the patch: > >=20 > > KERNEL=3D"hd*", GROUP=3D"disk", MODE=3D"0660" > > KERNEL=3D"hdc", MODE=3D"0666" > > brw-rw-rw- 1 root disk 22, 0 Feb 5 14:08 /dev/hdc >=20 > 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. >=20 > Should we change that now, so that permissions are applied from a > symlink-only rule too? I was _very_ confused when I saw this behaviour. It took me a lot of time to figure out what's really going on there and how to workaround it. > Kay >=20 >=20 >=20 =2D-=20 Regards Michael Buesch [ http://www.tuxsoft.de.vu ] --nextPart13033900.A9Gn3N5UI5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBCBN4xFGK1OIvVOP4RAgIfAJ9cm3yZO0GPGvNoJmK03QYi0+SLRACglrxc +AFhJBIfsdEQOAIB2OXDbaE= =+MDq -----END PGP SIGNATURE----- --nextPart13033900.A9Gn3N5UI5-- ------------------------------------------------------- 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