Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rechte dauerhaft setzen /dev/dsp permission denied(GELÖST)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
wollja
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2005
Posts: 94
Location: Berlin

PostPosted: Mon Apr 11, 2005 6:55 pm    Post subject: Rechte dauerhaft setzen /dev/dsp permission denied(GELÖST) Reply with quote

Hallo@all

Nach ausgiebiger Suche im Forum komme ich nun nicht umhin, mit meiner Ratlosigkeit an euch heranzutreten.
Trotz meiner Meinung nach richtiger Einstellungen in /etc/udev/permissions.d und /etc/security/console.perms kommt bei jedem Kde-Start als normaler user die Fehlermeldung, dass /dev/dsp nicht geöffnet werden kann, wegen nicht ausreichender Rechte.
Wenn ich die Rechte anpasse (manuell)geht es bis zum nächsten Neustart und dann ist alles wieder wie vorher, auf /dev/sound/dsp hat nur root zugriff.
Ich poste hier mal einen Auszug aus /etc/udev/permissions.d
# audio devices
dsp*:root:audio:660
audio*:root:audio:660
midi*:root:audio:0660
mixer*:root:audio:0660
sequencer*:root:audio:0660
sound/*:root:audio:0666
snd/*:root:audio:0666
beep:root:audio:0660
admm*:root:audio:0660
adsp*:root:audio:0660
aload*:root:audio:0660
amidi*:root:audio:0660
dmfm*:root:audio:0660
dmmidi*:root:audio:0660
sndstat:root:audio:0660

und hier mal einen aus /etc/security/console.perms

<console> 0660 <serial> 0660 root.tty
<console> 0660 <floppy> 0660 root.floppy
<console> 0660 <sound> 0660 root.audio
<console> 0666 <cdrom> 0660 root.cdrom
<console> 0600 <pilot> 0660 root.uucp
<console> 0600 <jaz> 0660 root.disk
<console> 0600 <zip> 0660 root.disk
<console> 0600 <ls120> 0660 root.disk
<console> 0666 <scanner> 0660 root.scanner
<console> 0600 <camera> 0600 root
<console> 0666 <memstick> 0600 root.usb
<console> 0660 <flash> 0600 root
<console> 0600 <diskonkey> 0660 root.disk
<console> 0600 <rem_ide> 0660 root.disk
<console> 0660 <fb> 0600 root
<console> 0600 <kbd> 0600 root
<console> 0600 <joystick> 0600 root
<console> 0600 <v4l> 0600 root.sys
<console> 0700 <gpm> 0700 root
<console> 0600 <mainboard> 0600 root
<console> 0660 <burner> 0660 root.cdrw
<console> 0666 <usb> 0660 root.usb
<console> 0600 <rio500> 0600 root

<xconsole> 0600 /dev/console 0600 root.root
<xconsole> 0600 <dri> 0600 root

Vielleicht ist ja doch was falsch und ich sehe es blos nicht.:?
_________________
Wenn man etwas nicht reparieren kann, ist es auch nicht kaputt!


Last edited by wollja on Sat Apr 16, 2005 5:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
Blackdream
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2004
Posts: 131
Location: Germany,Munich,Unterhaching

PostPosted: Mon Apr 11, 2005 7:14 pm    Post subject: Reply with quote

biste auch in der gruppe audio ?
Back to top
View user's profile Send private message
wollja
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2005
Posts: 94
Location: Berlin

PostPosted: Mon Apr 11, 2005 7:25 pm    Post subject: Reply with quote

ja bin ich. Das Problem ist, dass bei jedem Neustart die Rechte für /dev/dsp neu gestezt werden, so das nur root zugriff hat. Benutzer root und Gruppe auch root.
_________________
Wenn man etwas nicht reparieren kann, ist es auch nicht kaputt!
Back to top
View user's profile Send private message
Stormkings
Guru
Guru


Joined: 27 Sep 2002
Posts: 352
Location: Europe

PostPosted: Mon Apr 11, 2005 8:20 pm    Post subject: Reply with quote

Also bei mir tun es für sound folgende Einträge in console.perms:
Code:
<console>  0660 <sound>      0600 root.audio

sowie in /etc/udev/permissions.d/50-udev.permissions
Code:
# audio devices
dsp*:root:audio:0660
audio*:root:audio:0660
midi*:root:audio:0660
mixer*:root:audio:0660
sequencer*:root:audio:0660
sound/*:root:audio:0660
snd/*:root:audio:0660
beep:root:audio:0660
admm*:root:audio:0660
adsp*:root:audio:0660
aload*:root:audio:0660
amidi*:root:audio:0660
dmfm*:root:audio:0660
dmmidi*:root:audio:0660
sndstat:root:audio:0660

Du hast nicht zufällig coldplug installiert? In irgendeinem englischen Teil des Forums habe ich das mal als Ursache für den Fehler gelesen.
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Wed Apr 13, 2005 11:31 am    Post subject: Reply with quote

Diese Änderungen, die dieses PAM-Zeug ständig an den Devices durchführt, nerven echt total, außerdem ist es technisch gesehen auf einem Unix-System nicht sauber, ständig an den Devices rumzupfuschen. Was passiert, wenn mehrere User gleichzeitig am System angemeldet sind?
Aus diesen Gründen habe ich die /etc/security/console.perms größtenteils auskommentiert:
Code:

#Deklaration der Gerätegruppen
#...

# permission definitions
#<console>  0660 <serial>     0660 root.tty
#<console>  0660 <floppy>     0660 root.floppy
#<console>  0600 <sound>      0600 root.audio
#<console>  0600 <cdrom>      0660 root.cdrom
#<console>  0600 <pilot>      0660 root.uucp
#<console>  0600 <jaz>        0660 root.disk
#<console>  0600 <zip>        0660 root.disk
#<console>  0600 <ls120>      0660 root.disk
#<console>  0600 <scanner>    0600 root
#<console>  0600 <camera>     0600 root
#<console>  0600 <memstick>   0600 root
#<console>  0600 <flash>      0600 root
#<console>  0600 <diskonkey>  0660 root.disk
#<console>  0600 <rem_ide>    0660 root.disk
#<console>  0600 <fb>         0600 root
#<console>  0600 <kbd>        0600 root
#<console>  0600 <joystick>   0600 root
#<console>  0600 <v4l>        0600 root.sys
#<console>  0700 <gpm>       0700 root
#<console>  0600 <mainboard>  0600 root
#<console>  0660 <burner>     0660 root.cdrw
#<console>  0600 <usb>        0660 root.usb
#<console>  0600 <rio500>     0600 root

<xconsole> 0600 /dev/console 0600 root.root
<xconsole> 0600 <dri>        0600 root


Seitdem habe ich nie wieder Ärger gehabt wegen falschen Berechtigungen im /dev-Verzeichnis.
_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
wollja
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2005
Posts: 94
Location: Berlin

PostPosted: Thu Apr 14, 2005 6:28 pm    Post subject: Reply with quote

Tut mir leid, dass ich erst jetzt reagiere hatte leider keine Zeit!
Habe alle Tips probiert, das Problem aber noch nicht gelöst, muss ich halt weitersuchen wo der Fehler liegen könnte.
Wenn trotzdem noch jemandem was schlaues einfällt nur raus damit.
Trotzdem danke für die Hilfe!
EDIT 16.04.2005
Bin jetzt selber auf die Lösung gekommen: devfsd war nicht installiert.
Man sollte halt doch mal die Kernellogs genauer lesen :oops:
_________________
Wenn man etwas nicht reparieren kann, ist es auch nicht kaputt!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum