Skip to contentSkip to conversation

udev/permissions.d ignored

DISCUSSION Bernd Schubert 1 participant 3 messages Oct 19, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

is it normal that I can't set the permissions of /dev/snd/* via /etc/udev/permissions.d/udev.permissions?

So for example permissions.d/udev.permissions:
snd/*:root:users:0666

bathl:/etc/udev# rmmod snd_ens1371
bathl:/etc/udev# ll /dev/snd
total 0
crw-rw---- 1 root audio 116, 33 2006-10-19 10:57 timer
bathl:/etc/udev# udevcontrol reload_rules
bathl:/etc/udev# modprobe snd_ens1371
bathl:/etc/udev#  ll /dev/snd
total 0
crw-rw---- 1 root audio 116,  0 2006-10-19 17:55 controlC0
crw-rw---- 1 root audio 116,  8 2006-10-19 17:55 midiC0D0
crw-rw---- 1 root audio 116, 24 2006-10-19 17:55 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2006-10-19 17:55 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2006-10-19 17:55 pcmC0D1p
crw-rw---- 1 root audio 116, 33 2006-10-19 10:57 timer

=> Not exactly what I requested, isn't it?

From the syslog:

Oct 19 17:55:22 bathl udevd-event[23213]: udev_node_add: creating device 

node '/dev/snd/pcmC0D1p', major = '116', minor '17', mode = '0660', uid = '0', gid = '29'

The /etc/udev/permissions.rules has this entry:

# sound devices
SUBSYSTEM="sound",                             GROUP="audio"

Setting there another group and other device permissions does work.

Any idea why the values in permissions.d/udev.permissions are not used?

Thanks,
Bernd

Signature · 16 lines
Bernd Schubert
PCI / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 1 line

Any idea why the values in permissions.d/udev.permissions are not used?

Ah, 1 minute after I wrote this mail (after reading the documentation for 1h) I found debian bug #296437
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug)6437)

Before my first mail I grepped of course in /usr/share/doc/udev for permissions.d:

bernd@bathl ~>grep -r "permissions.d" /usr/share/doc/udev bernd@bathl ~>

(Nothing found.)

Why is the permission.d directory still there and why is there nothing in the documentation and changelog about this issue?

Cheers,
Bernd

Signature · 16 lines
Bernd Schubert
PCI / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#2 lore raw
In reply to Bernd Schubert
Quoted 9 lines

bernd@bathl ~>grep -r "permissions.d" /usr/share/doc/udev bernd@bathl ~>

(Nothing found.)

Why is the permission.d directory still there and why is there nothing in the documentation and changelog about this issue?

Sorry my mistake, I should have used zgrep and also should only have zgrepped for "permission".

Signature · 16 lines
Bernd Schubert
PCI / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel