mgw wrote: > LMS is run by user squeezeboxserver. > > Code: -------------------- > > birgit@bw-tp-w520:~$ cat /etc/passwd |grep Logi > squeezeboxserver:x:116:65534:Logitech Media Server,,,:/usr/share/squeezeboxserver:/bin/false -------------------- > > > > arecord is only a link to aplay which is owned by root and is by > default -rwxr-xr-x: > > Code: -------------------- > > birgit@bw-tp-w520:/usr/bin$ ls -l aplay > -rwxr-xr-x 1 root root 64984 Apr 15 2016 aplay > birgit@bw-tp-w520:/usr/bin$ ls -l arecord > lrwxrwxrwx 1 root root 5 Apr 15 2016 arecord -> aplay > -------------------- > >
Permission to use audio, other hardware, pulse etc is part of groups. Which groups is the user squeezeboxserver a member ? Can squeezeboxserver run the command ""/usr/bin/arecord" -d0 -c2 -f S16_LE -r 44100 -twav -D "alsa_output.pci-0000_00_1b.0.analog-stereo"" Using su to change user to squeezeboxserver will not work because it is doesn't execute right login scripts and so will be missing environment variables. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
