Package: udev
Version: 175-7.2
Severity: normal
Tags: patch

There seems to be a missing \ in 91-permissions.rules causing
strange behaviour:

Unpatched:

# chmod 600 /dev/fb*; /etc/init.d/udev reload; udevadm trigger; udevadm settle; 
ls -la /dev/fb*
crw-rw---T 1 root video 29, 0 Mar 16 18:13 /dev/fb0

Patched:

# chmod 600 /dev/fb*; /etc/init.d/udev reload; udevadm trigger; udevadm settle; 
ls -la /dev/fb*
crw-rw---- 1 root video 29, 0 Mar 16 18:13 /dev/fb0

This only happens with the initial chmod 600. If the mode was 660
before, it doesn't get changed.

I have no idea what's actually happening here. Why should these
options set the sticky bit if the mode was 600 before and not 660?

Anyway, from the indentation of the file it seems clear that this is
a bug anyway, so I'm reporting it at least ...

--- /lib/udev/rules.d/91-permissions.rules
+++ /lib/udev/rules.d/91-permissions.rules
@@ -90,7 +90,7 @@
 KERNEL=="pht[0-9]*",                           GROUP="tape"
 
 # sound devices
-SUBSYSTEM=="sound",                            GROUP="audio",
+SUBSYSTEM=="sound",                            GROUP="audio", \
        OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"
 
 # ieee1394 devices

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: i386 (i686)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to