Quoting Roman Drahtmueller (draht@uni-freiburg.de) on Wed, Jan 19, 2000 at 10:12:06AM +0100:
Hi Andreas,
Looking through /usr/X11R6/bin/netscape I found something like chmod -f -R go-rxw $HN & where $HN is $HOME/.netscape
The chmod seems to be ok, I wonder why it went into Zombie state....
That script is a SuSE Script :-(
afx
This is fairly easy:
chmod -f -R go-rxw $HN & # # Start # dd if=$p of=/dev/null bs=8k conv=sync > /dev/null 2>&1 preloader $p exec $p ${1+"$@"}
chmod is backgrounded. The shell forks, the child exec()s chmod. In the meanwhile, the parent shell execs the netscape binary, which has no reason to await a child. In particular, it is unlikely that netscape starts up fast enough to be able to install the signal handler before the child returns.
But then I should have a hanging chmod as well, but I have never seen it... afx -- SuSE Muenchen GmbH Phone: +49-89-42769-0 Stahlgruberring 28 Fax: +49-89-42017701 D-81829 Muenchen, Germany May the Source be with you!