[MPlayer-users] MPlayer – changing ‘ao=’ codec order in mplayer.conf does not appear to work for per user config?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Sep 13 13:19:50 CEST 2014


On 13.09.2014, at 12:36, Jim Cross <jimgcross at gmail.com> wrote:
> Thanks again for the suggestion.
> Currently, programmatically (python script) I modify owner & group  of
> '/etc/mplayer/mplayer.conf' to 'www-data:www-data' and then append
> 'include=/var/www/mplayer.conf'.

As long as you know you really shouldn't allow anyone but root to write the global one or anything it includes.
If the www-data account is compromised the config file can be used to take any other accounts that use MPlayer.

> Obviously, this allows the same goal and
> have a modifiable config file but is a bit hackish. That said, there is
> still an issue to get the fifo (obviously slave mode) to work (for mplayer
> to read the fifo), I still need to start mplayer with sudo for it to read
> the fifo, again a bit hackish.

Fifos should have permissions like any other file, so you just adjust them?


More information about the MPlayer-users mailing list