[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can only play mp3 files as root.



Christopher Barry wrote:
> 
> George Bonser wrote:
> >
> > On Tue, 28 Jul 1998, Christopher Barry wrote:
> >
> > > I'm added to group audio and I had the permissions of /dev/audio and
> > > /dev/dsp set to 770 so before I file a bug report should I mess with
> > > anything else? If it would neither run as root nor as a user, that would
> > > be one thing, but this is just too weird. I can't think of any more
> > > groups or permissions that would need fiddling with.
> >
> > Maybe you missed my point ... is /dev/audio and /dev/dsp still owned by
> > the audio group or has the ownership changed to root root?
> >
> 
> They've been root.audio from the beginning, I was just playing with some
> stuff though and made some progress. These are the default permissions,
> my username is cbarry and I am in group audio:
> 
> $ ls -l /dev/audio /dev/dsp
> crwxrwx---   1 root     audio     14,   4 Jul 20 17:45 /dev/audio
> crwxrwx---   1 root     audio     14,   3 Jul 20 17:45 /dev/dsp
> 
> I noticed I still couldn't catenate a file to /dev/audio though because
> of permission denied so I changed them to this:
> 
> crwxrwxrwx   1 root     audio     14,   4 Jul 20 17:45 /dev/audio
> crwxrwxrwx   1 root     audio     14,   3 Jul 20 17:45 /dev/dsp
> 
> Now this really has me confused. I can play files now as a user but I
> can't use the volume control and speaker balance as they do absolutely
> nothing. I'm stuck with one set volume, while again with root everything
> is perfect. If I'm a member of group audio, why did I have to change the
> permissions from what they were to write to /dev/audio? I really am a
> newbie to the unixy way of doing things with all these permissions. I've
> been using MS for too many years I guess. I guess for volume control and
> speaker balance there's another /dev device but I'll be damned if I know
> which one.

I just looked at my /etc/group file for the first time. Maybe part of it
is wrong? I attached a copy.




> > George Bonser
> >
> > Microsoft! Which end of the stick do you want today?
> >
> > --
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:lp
mail:x:8:
news:x:9:
uucp:x:10:
proxy:x:13:
kmem:x:15:
dialout:x:20:
fax:x:21:
voice:x:22:
cdrom:x:24:
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:cbarry
dip:x:30:cbarry
majordom:x:31:majordom
postgres:x:32:
www-data:x:33:
backup:x:34:
msql:x:36:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
staff:x:50:
games:x:60:
qmail:x:70:
users:x:100:
nogroup:x:65534:
cbarry:x:1000:

Reply to: