[Bug 1081676] Yast modules can not be started on Gnome when root does not have access to user's home
http://bugzilla.suse.com/show_bug.cgi?id=1081676 http://bugzilla.suse.com/show_bug.cgi?id=1081676#c7 --- Comment #7 from Johannes Weberhofer <jweberhofer@weberhofer.at> --- (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: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com