Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
User rights in /dev/sound
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Sun Jun 23, 2002 12:27 am    Post subject: User rights in /dev/sound Reply with quote

Hi,

This morning I changed the user rights for all to +rw on everything in /dev/sound/*
Thus, this made my sound work fine with any user.

I had to reboot, and now my user rights went back as before.
I think I'm using devfs on my system, but I read this has been fixed in gentoo.
Something important maybe, I recompiled my kernel with the vanilla kernel with static (not as a module) devfs.

What can I do to make this change permanent?
Any suggestion?

Thanks,
Fred
Back to top
View user's profile Send private message
fancypiper
n00b
n00b


Joined: 08 Jun 2002
Posts: 13
Location: Sparta NC USA

PostPosted: Sun Jun 23, 2002 2:09 am    Post subject: Reply with quote

usermod -G audio username
_________________
Linux: Viagra for your PC
Back to top
View user's profile Send private message
jadenjahner
n00b
n00b


Joined: 04 May 2002
Posts: 28

PostPosted: Sun Jun 23, 2002 5:55 am    Post subject: Reply with quote

I am running the 2.4.19-gentoo-r7 kernel, and the permission changes are permanent for me. You can setup the audio group in your case.
_________________
I can't think of anything catchy to put here, so I'll just leave it blank.
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Sun Jun 23, 2002 7:29 am    Post subject: Reply with quote

You should change the perms with devfs (assuming you're using it), as devfs is responsible for the creation of dev files.

Edit /etc/devfsd.conf. Search in that file for audio and you'll find something like:
Code:
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660


Change perms under REGISTER.

You can also refer to devfsd man page.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Sun Jun 23, 2002 5:31 pm    Post subject: Reply with quote

Ok, I start to understand more about devfs.
I finally change the user group to the audio group, as first suggested.

Thanks for your help,
Fred.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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