--- loncom/lcuserdel 2002/10/07 01:41:31 1.13 +++ loncom/lcuserdel 2002/10/07 01:52:28 1.14 @@ -125,6 +125,7 @@ system('/usr/sbin/groupdel',$safeusernam if (-e '/usr/bin/smbpasswd') { ($>,$<) = (0,0); # fool smbpasswd to think this is not setuid. system('/usr/bin/smbpasswd -x '.$safeusername); + $< = $wwwid; }