Comment # 7 on bug 1081676 from
(In reply to Marcus R�ckert from comment #5)
> Why not add a "cd /" to /usr/sbin/yast2? Then you would have a clean
> directory before calling ruby. The code that is failing for you is the
> support for Gemfiles.
> 
> The only problem i can see this is if people try to pass files from the
> current directory as commandline arguments to yast2 modules. is that even
> supported?

You could check if the current directory is readable and do a cd / only if it's
not readable.
The only strange thing is, that it would interprete given parameters in a
different directory. For security reasons a directory in /tmp/ could be created
and the current dir could be changed to that.


You are receiving this mail because: