chiark / gitweb /
correct default mode documentation in udev
authorVille Skyttä <ville.skytta@iki.fi>
Thu, 14 Jul 2005 09:43:05 +0000 (11:43 +0200)
committerKay Sievers <kay.sievers@suse.de>
Thu, 14 Jul 2005 09:43:05 +0000 (11:43 +0200)
docs/writing_udev_rules/index.html
etc/udev/redhat/udev.rules

index 1ba43678c0ecf08e851ba329dec14a66aa938160..c2ccdc3663f1878a1bbc5fe9bbf8295904057f2e 100644 (file)
@@ -321,7 +321,7 @@ Building on the style mentioned above, you can do even more flashy things. The u
 
 This prevents the need to excessively provide a <i>GROUP="audio"</i> key on every following rule which names sound devices.<br /><br />
 
 
 This prevents the need to excessively provide a <i>GROUP="audio"</i> key on every following rule which names sound devices.<br /><br />
 
-udev defaults to creating nodes with unix permissions of 0660 (read/write to owner and group), which is configured by the <b>default_mode</b> setting inside <i>/etc/udev/udev.conf</i>. There may be some situations where you do not want to use the default permissions on your device node. Fortunately, you can easily override the permissions in your rules using the <i>MODE</i> assignment key. As an example, the following rule defines that the inotify node shall be readable and writable to everyone:
+udev defaults to creating nodes with unix permissions of 0660 (read/write to owner and group). There may be some situations where you do not want to use the default permissions on your device node. Fortunately, you can easily override the permissions in your rules using the <i>MODE</i> assignment key. As an example, the following rule defines that the inotify node shall be readable and writable to everyone:
 
 <blockquote><pre>KERNEL="inotify", NAME="misc/%k", SYMLINK="%k", MODE="0666"</pre></blockquote>
 
 
 <blockquote><pre>KERNEL="inotify", NAME="misc/%k", SYMLINK="%k", MODE="0666"</pre></blockquote>
 
index 2d4819f8c36ae6eeb37e8e16da6ae0ab6bf074f5..5bed78228091bcf4086fd8e1d16376d84133a0f3 100644 (file)
@@ -1,7 +1,7 @@
 # There are a number of modifiers that are allowed to be used in some of the
 # fields.  See the udev man page for a full description of them.
 #
 # There are a number of modifiers that are allowed to be used in some of the
 # fields.  See the udev man page for a full description of them.
 #
-# default is OWNER="root" GROUP="root", MODE="0600"
+# default is OWNER="root" GROUP="root", MODE="0660"
 #
 
 # all block devices
 #
 
 # all block devices