alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
360 stars 177 forks source link

Remove mic permissions. #353

Closed stefan11111 closed 1 year ago

stefan11111 commented 1 year ago

I first asked this on the gentoo forums: https://forums.gentoo.org/viewtopic-t-1164837.html I would like to tweak my /dev/snd permissions in such a way that members of the audio group can listen to sounds, but only root and maybe root group can use the microphone to record sounds. Is such a thing possible? Note that I have a static /dev, so no need to worry about changes not being permanent.

perexg commented 1 year ago

The capture (record) devices ends with c like pcmC1D6c. I guess you like to set the permissions for all.

stefan11111 commented 1 year ago

Thanks, that worked. Call it paranoia, but I want my mic to only work when I want it to work.