Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Everything was working great about 3 hours ago on my maverick machine.

Then my clumsy fingers typed chown -R someuser:somegroup .*, and before I had noticed the dot, I hit enter, and BAM, half my system was owned by someuser before I could stop it.

Needless to say, after much banging of head against wall, I managed to chown everything back to root (namely, /sbin, /etc, /lib, and some stuff under /usr). I apt-get --reinstall installed a pile of packages, including ALSA. Unfortunately, now, ALSA doesn't work for non-root users. That is, sudo aplay /usr/share/sounds/alsa/Noise.wav works fine, but as an unprivileged user, it spits out "cannot find card '0'". Although adding my users to the audio group might work, I'd read many places that this is no longer the solution to these problems.

So that leaves me with the question - where should I look to find my hosed permissions?

share|improve this question
What Ubuntu version are you using? 10.04 Lucid? – Lekensteyn Apr 28 '11 at 16:02
10.10 Maverick (bare bones ubuntu server, just installed last week, with some extras I installed) – Nate Apr 28 '11 at 16:16
up vote 2 down vote accepted

Okay, I got lucky, and noticed that the ACLs weren't set in /dev/snd

Just in case anyone happens upon a similar problem, I managed to fix it:

sudo setfacl -m u:username:rw /dev/snd/*

If anyone sees a problem with this, please respond in the comments, I want to make sure I did this right...

share|improve this answer
As pointed out in a (now deleted) answer this command may not work because the user is not in the 'audio' group. Adding the user to the 'audio' group works around this. – Seth Dec 27 '14 at 23:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.