Am Sonntag, 2. Oktober 2005 13:19 schrieb Guðlaugur Jóhannesson:
On Fri, 2005-09-30 at 22:31 +0000, Guðlaugur Jóhannesson wrote:
There is a file called logindevperms in /etc/ that changes permissions for the various devices. You should change the permissions on /dev/dsp to 0660. Alas, this does not appear to exist on my machine! I can create it, of course ... if so, what would be the syntax? The file is /etc/logindevperm (sorry for the extra s before). If
M.Blackmore wrote: that does not exist, this is the header for my file and an example line ... :0 0600 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3
This is for display ":0" on tty7. If you have a second login on display ":1" (tty8) the lines would be: :0 0600 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3 :1 0600 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3 But that means they use the device exclusively. Better is: :0 0660 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3 :1 0660 /dev/cdrom:/dev/cdrom1:/dev/cdrom2:/dev/cdrom3 So they share the access to the device. (If it is a sound device: hold yer horses...) -- mdc