[MPlayer-users] OSD menu: restrict open_file to a specific directory
Ulion
ulion2002 at gmail.com
Fri Nov 23 01:02:32 CET 2007
2007/11/23, Alexander Heinz <mailsanmich at gmx.li>:
> >>> -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).
> >> This command line argument does not work for me with latest SVN:
> > Replace '=' by space to work around the problem, and you'd better set
> > the beginning path in the two filesel tags by a property 'path'
>
> This works for me! Thanks!
>
> I have not specified the property path because then it always uses the
> specified directory when I try to open files.
>
> How can we make sure that the developers are aware of this bug?
>
If not specify the path property, mplayer will use its current working
path as the default path to browser file, even it's out of the chroot
dir. This bug will be fixed in svn in 3 days, before that, you can
just set the path property within the chroot dir to keep safe.
--
Ulion
More information about the MPlayer-users
mailing list