Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 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

Your Answer

 
discard

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.