On Fri, Dec 11, 2009 at 7:42 PM, Jonas Karlsson <cj.karls...@gmail.com> wrote: > 2009/12/11 <luca...@svn.gobolinux.org>: >> Author: lucasvr >> Date: 2009-12-11 10:53:32 -0800 (Fri, 11 Dec 2009) >> New Revision: 4219 >> >> Modified: >> branches/015/Scripts/bin/ScriptFunctions >> Log: >> The super user drop functionality causes infinite recursion in >> SymlinkProgram. Disable it for the time being. >> >> Modified: branches/015/Scripts/bin/ScriptFunctions >> =================================================================== >> --- branches/015/Scripts/bin/ScriptFunctions 2009-12-10 19:01:14 UTC (rev >> 4218) >> +++ branches/015/Scripts/bin/ScriptFunctions 2009-12-11 18:53:32 UTC (rev >> 4219) >> @@ -1,10 +1,11 @@ >> #!/bin/sh (source) >> >> +# TODO: the following test causes infinite recursions in some scripts such >> as SymlinkProgram >> # If user runs script with sudo respawn as current user > > Could you elaborate the test case? What user was active before 'sudo' > and what was the target user for 'sudo'? > >> -if [ -n "$SUDO_USER" -a -z "$SUDO_OK" ] >> -then >> - exec sudo -u "$SUDO_USER" -H env SUDO_OK=1 $0 "$...@}" >> -fi > > "env SUDO_OK=1" should prohibit infinite recursion. I've never seen > this previously, so I don't think I can make it appear now. Need more > info on what you were doing and what your environment looked like.
I just realized that this was a problem with a manual installation of Sudo here. I forgot to copy Resources/Defaults/Settings to the target settings. Thanks! -- Lucas "If you're looking for a reason I've a reason to give: pleasure, little treasure" _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel