Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Device permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
doughenry
n00b
n00b


Joined: 30 Jun 2002
Posts: 32

PostPosted: Tue Aug 06, 2002 1:17 pm    Post subject: Device permissions Reply with quote

There are some strange things that happen with gentoo and devfs, wondering if anyone has figured them out. When I log in many devices become owned by me and the permissions set to 600. Specifically everything under /dev/sound and my cdrom devices. It will not be noticable if you are the only user on your system, since your the owner everything appears to work correctly. But if you login as another user, nothing will work because all the devices are owned by the first user. Why would such a thing happen??
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Tue Aug 06, 2002 1:34 pm    Post subject: Reply with quote

Default permissions for sound devices should be 660. User is root and group is audio.
Check this section in your /etc/devfsd.conf :
Code:

# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# 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

And make sure all your users are in group audio.
Back to top
View user's profile Send private message
doughenry
n00b
n00b


Joined: 30 Jun 2002
Posts: 32

PostPosted: Tue Aug 06, 2002 2:03 pm    Post subject: Reply with quote

yeah, thats whats so strange. I have that setup, but when I logout its like that user holds on to the device somehow. I have another machine that is setup exactly the same (built them at the same time) and it works correctly. I was hoping someone has found a glitch in a specific sound driver or something like that.
Back to top
View user's profile Send private message
RosenSama
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2003
Posts: 99

PostPosted: Sat Aug 02, 2003 4:55 am    Post subject: Reply with quote

For what it's worth, I've learned more (but no solution yet) about this in this thread:

https://forums.gentoo.org/viewtopic.php?t=67591
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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