linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev/permissions.d ignored
@ 2006-10-19 15:59 Bernd Schubert
  2006-10-19 16:20 ` Bernd Schubert
  2006-10-19 16:38 ` Bernd Schubert
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Schubert @ 2006-10-19 15:59 UTC (permalink / raw)
  To: linux-hotplug

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



-- 
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev/permissions.d ignored
  2006-10-19 15:59 udev/permissions.d ignored Bernd Schubert
@ 2006-10-19 16:20 ` Bernd Schubert
  2006-10-19 16:38 ` Bernd Schubert
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Schubert @ 2006-10-19 16:20 UTC (permalink / raw)
  To: linux-hotplug

> 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

-- 
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev/permissions.d ignored
  2006-10-19 15:59 udev/permissions.d ignored Bernd Schubert
  2006-10-19 16:20 ` Bernd Schubert
@ 2006-10-19 16:38 ` Bernd Schubert
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Schubert @ 2006-10-19 16:38 UTC (permalink / raw)
  To: linux-hotplug

>
> 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".

-- 
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-19 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-19 15:59 udev/permissions.d ignored Bernd Schubert
2006-10-19 16:20 ` Bernd Schubert
2006-10-19 16:38 ` Bernd Schubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).