devices

Sean McMahon smcmahon at usgs.gov
Wed Mar 9 16:32:29 EST 2005


You'll get permission denied errors on certain devices in /dev.  do ls -ld
/dev/<devicename> where <devicename> is some thing like dsp.  This will show if
this is a softlink or a real device.  If it is a softlink, you'll see ->
<anothername> where <anothername> is the real device.  Example /dev/cdrom on my
debian system points to  /dev/cdrom0 which looked like cdrom > cdrom0 from
within the /dev directory.  I then did a ls -ld /dev/cdrom0 and discovered it
had the proper permissions in group cd.  Your audio device /dev/dsp probably has
permissions from group audio..  At that point, log in as root then add your self
to the group with the command adduser.  If your user is jim and you want to add
yourself to audio type
adduser jim audio
Logout then log back in.  If you sued into root, logout from both root and
yourself then log back in.  When you do the command groups, you should see the
new group next to your username.

hth
Sean
----- Original Message ----- 
From: "jim grimsby" <jimgrims at pacbell.net>
To: "Speak Up Mailing List" <speakup at braille.uwo.ca>
Sent: Wednesday, March 09, 2005 12:41 PM
Subject: devices


> Hi, now that I am testing devices I find that a lot of them will not work
> unless I am a logged in as root.  To correct this problem I gave the other
> group owner ship of the device that I wanted to use by doing this
> Chgrp jim /dev/dsp
> Is this the best way to handle this issue or should I do some thing else.
> Thanks.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup





More information about the Speakup mailing list