View previous topic :: View next topic |
Author |
Message |
doughenry n00b
Joined: 30 Jun 2002 Posts: 32
|
Posted: Tue Aug 06, 2002 1:17 pm Post subject: Device permissions |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Tue Aug 06, 2002 1:34 pm Post subject: |
|
|
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 |
|
|
doughenry n00b
Joined: 30 Jun 2002 Posts: 32
|
Posted: Tue Aug 06, 2002 2:03 pm Post subject: |
|
|
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 |
|
|
RosenSama Tux's lil' helper
Joined: 28 Apr 2003 Posts: 99
|
|
Back to top |
|
|
|