On Fri, 26 Jun 2009, Joe Steele wrote:

The fuse package includes a patch file called fuse-udev_rules.patch (http://svn.rpmforge.net/svn/trunk/rpms/fuse/fuse-udev_rules.patch). There is a typo in the patch file that needs correcting (actually, the typo is in the original source, and the patch preserves the typo). As shown below, the typo is where '==' is used instead of '='.

Current patch contents:

--- util/udev.rules     2005-11-03 19:38:05.000000000 +0100
+++ util/udev.rules     2005-11-03 19:38:13.000000000 +0100
@@ -1 +1 @@
-KERNEL=="fuse", MODE="0666"
+KERNEL=="fuse", NAME="%k", MODE="0660",OWNER="root",GROUP="fuse"




The patch file should look like this:


--- util/udev.rules     2005-11-03 19:38:05.000000000 +0100
+++ util/udev.rules     2005-11-03 19:38:13.000000000 +0100
@@ -1 +1 @@
-KERNEL=="fuse", MODE="0666"
+KERNEL="fuse", NAME="%k", MODE="0660",OWNER="root",GROUP="fuse"

Not quite right. If you do 'man udev' you can find out what the difference is between '=' and '=='.

       ==     Compare for equality.

       =      Asign a value to a key. Keys that represent a list, are
              reset and only this single value is assigned.

If you look at other files in /etc/udev/rules.d/, you can see that this is on purposes. The parts with '==' are filters, and when they match, the parts with '=' are being assigned.

--
--   dag wieers,  d...@wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest

Reply via email to