Re: Who sets /dev/snd/* owners/perms upon login?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-03-11 at 15:17 +0100, jan sonnek wrote:
> Patrick O'Callaghan napsal(a):
> > On Tue, 2008-03-11 at 12:50 +0100, Tomasz Torcz wrote:
> >   
> >> Dnia 10-03-2008, pon o godzinie 23:25 -0300, Juan Carlos Castro y Castro
> >> pisze:
> >>
> >>     
> >>> OK, now it got weird. I see the permissions in /dev/snd don't actually 
> >>> change - they're permanently at 0660, owner root:root - and yet I can 
> >>> play sound from a ssh session as a common user. But not from a VNC server.
> >>>       
> >>  Permissions do not change. ACLs do.
> >> ACLs are in unix world since 1995 or longer. ACL are available in linux
> >> since about 2001. People should get used to them already.
> >>
> >> -- 
> >> Tomasz Torcz
> >>     
> >
> > # lsattr /dev/*snd*
> > lsattr: Operation not supported While reading flags
> > on /dev/snd/controlC0
> > lsattr: Operation not supported While reading flags on /dev/snd/hwC0D2
> > lsattr: Operation not supported While reading flags on /dev/snd/pcmC0D0c
> > lsattr: Operation not supported While reading flags on /dev/snd/pcmC0D0p
> > lsattr: Operation not supported While reading flags on /dev/snd/seq
> > lsattr: Operation not supported While reading flags on /dev/snd/timer
> >
> > poc
> >   
> Try this command as root:
> 
> setfacl -m u:USER:rw /dev/snd/*

No need. getacl shows I have rw for all devices.

I still get "xine was unable to initialize any audio drivers." from
Amarok, and an access error from Alsa when I log in (KDE).

poc


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux