[MPlayer-users] OSD menu: restrict open_file to a specific directory

Ulion ulion2002 at gmail.com
Tue Nov 20 03:24:44 CET 2007


2007/11/20, Alexander Heinz <mailsanmich at gmx.li>:
> Hi!
>
> I use mplayer's integrated OSD menu to choose the files I want play.
>
> I was wondering if there is an option for the open_file command that
> restricts its access to the filesystem to a specific directory (and its
> subdirs).
>
> If it is not possible to restrict access, is it possible to change the
> default directory? How?
>

-menu-chroot <path>
Chroot the file selection menu to a specific location.

EXAMPLE:
"-menu-chroot=/home"
Will restrict the file selection menu to /home and downward (i.e.& no
access to / will be possible, but /home/user_name will).

-- 
Ulion



More information about the MPlayer-users mailing list